[FFmpeg-cvslog] swr: Fix swresample.c:293:5: warning: passing argument 2 of ‘fill_audiodata’ from incompatible?==?UTF-8?Q? pointer type

Michael Niedermayer git at videolan.org
Fri Oct 21 00:42:42 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Oct 21 00:36:00 2011 +0200| [44a2bb75a72672177c3837512a2e1ea6f1143d66] | committer: Michael Niedermayer

swr: Fix swresample.c:293:5: warning: passing argument 2 of ‘fill_audiodata’ from incompatible pointer type

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

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

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

diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index ad00fb3..a03d531 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -290,7 +290,7 @@ int swr_convert(struct SwrContext *s, uint8_t *out_arg[SWR_CH_MAX], int out_coun
         out_count = in_count;
     }
 
-    fill_audiodata(in ,  in_arg);
+    fill_audiodata(in ,  (void*)in_arg);
     fill_audiodata(out, out_arg);
 
     if(s->full_convert){



More information about the ffmpeg-cvslog mailing list