[misc] Move MIN() macro from raop.c to misc.c

This commit is contained in:
ejurgensen 2019-02-10 23:18:26 +01:00
parent 94dfef6e78
commit cee740ae51

View File

@ -17,6 +17,10 @@
#define ARRAY_SIZE(x) ((unsigned int)(sizeof(x) / sizeof((x)[0])))
#ifndef MIN
# define MIN(a, b) ((a < b) ? a : b)
#endif
// Remember to adjust quality_is_equal() if adding elements
struct media_quality {
int sample_rate;