swr: fix warning: passing argument 2 of s->mix_any_f from incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-07-02 17:33:27 +02:00
parent 338509c2e1
commit 7309451d73
1 changed files with 1 additions and 1 deletions

View 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;
}