swr: fix pointer type warnings
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Apr 2012 20:10:40 +0000 (22:10 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Apr 2012 20:10:40 +0000 (22:10 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/swresample.c

index 9b1647d..f9674d1 100644 (file)
@@ -428,8 +428,8 @@ static int resample(SwrContext *s, AudioData *out_param, int out_count,
     return ret_sum;
 }
 
-static int swr_convert_internal(struct SwrContext *s, AudioData *out[SWR_CH_MAX], int out_count,
-                                                      AudioData *in [SWR_CH_MAX], int  in_count){
+static int swr_convert_internal(struct SwrContext *s, AudioData *out, int out_count,
+                                                      AudioData *in , int  in_count){
     AudioData *postin, *midbuf, *preout;
     int ret/*, in_max*/;
     AudioData preout_tmp, midbuf_tmp;