[FFmpeg-cvslog] swr: fix warning: passing argument 2 of s-> mix_any_f from incompatible pointer type
Michael Niedermayer
git at videolan.org
Mon Jul 2 17:38:00 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jul 2 17:33:27 2012 +0200| [7309451d739e2e65647579bcb84c2f694e56d821] | committer: Michael Niedermayer
swr: fix warning: passing argument 2 of s->mix_any_f from incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7309451d739e2e65647579bcb84c2f694e56d821
---
libswresample/rematrix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c
index 9c7a6fa..26e76a2 100644
--- a/libswresample/rematrix.c
+++ b/libswresample/rematrix.c
@@ -361,7 +361,7 @@ int swri_rematrix(SwrContext *s, AudioData *out, AudioData *in, int len, int mus
int off = 0;
if(s->mix_any_f) {
- s->mix_any_f(out->ch, in->ch, s->native_matrix, len);
+ s->mix_any_f(out->ch, (const uint8_t **)in->ch, s->native_matrix, len);
return 0;
}
More information about the ffmpeg-cvslog
mailing list