summaryrefslogtreecommitdiff
path: root/libswresample/rematrix.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-02 17:33:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-02 17:33:27 +0200
commit7309451d739e2e65647579bcb84c2f694e56d821 (patch)
treec2f702609c8b710d76fda64a6ea4e42903f41e2f /libswresample/rematrix.c
parent338509c2e1f010bf6190797488c7afaf0969dfc8 (diff)
swr: fix warning: passing argument 2 of s->mix_any_f from incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/rematrix.c')
-rw-r--r--libswresample/rematrix.c2
1 files changed, 1 insertions, 1 deletions
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;
}