]> git.sesse.net Git - ffmpeg/commitdiff
swresample-test: make it independant of the internal SWR_CH_MAX
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Aug 2014 23:10:45 +0000 (01:10 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Aug 2014 23:15:43 +0000 (01:15 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/swresample-test.c

index 4987f5faff33734fd67099c1c32cc6c37a068e91..c0162cd64636780645dabf9e4ea989431d0004a6 100644 (file)
@@ -31,6 +31,8 @@
 
 #define SAMPLES 1000
 
+#define SWR_CH_MAX 32
+
 #define ASSERT_LEVEL 2
 
 static double get(uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f){