swr: fix warning: passing argument 2 of s->mix_any_f from incompatible pointer type
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Jul 2012 15:33:27 +0000 (17:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Jul 2012 15:33:27 +0000 (17:33 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/rematrix.c

index 9c7a6fa..26e76a2 100644 (file)
@@ -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;
     }