[FFmpeg-cvslog] swr: fix pointer type warnings

Michael Niedermayer git at videolan.org
Sun Apr 1 22:50:24 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Apr  1 22:10:40 2012 +0200| [dc984da961c9f3e56a5efe40796f8197fc530233] | committer: Michael Niedermayer

swr: fix pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dc984da961c9f3e56a5efe40796f8197fc530233
---

 libswresample/swresample.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 9b1647d..f9674d1 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -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;



More information about the ffmpeg-cvslog mailing list