From 7309451d739e2e65647579bcb84c2f694e56d821 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 2 Jul 2012 17:33:27 +0200 Subject: [PATCH] swr: fix warning: passing argument 2 of s->mix_any_f from incompatible pointer type Signed-off-by: Michael Niedermayer --- libswresample/rematrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c index 9c7a6fa340..26e76a2ed8 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; }