aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/audioconvert.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-02 17:31:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-02 17:31:16 +0200
commit087d067a9943b48b9af592baf4a360d8d783829a (patch)
treef58f56ce5971d6336ba49ad9bbc5d5e291b2b0e5 /libswresample/audioconvert.c
parent04b5eb47a653bc12bd33f1df2624450a80539997 (diff)
downloadffmpeg-087d067a9943b48b9af592baf4a360d8d783829a.tar.gz
swr: fix warning: passing argument 2 of ctx->simd_f from incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/audioconvert.c')
-rw-r--r--libswresample/audioconvert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/audioconvert.c b/libswresample/audioconvert.c
index e4c84cae44..2d9c55b70b 100644
--- a/libswresample/audioconvert.c
+++ b/libswresample/audioconvert.c
@@ -182,10 +182,10 @@ int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len
if(out->planar == in->planar){
int planes = out->planar ? out->ch_count : 1;
for(ch=0; ch<planes; ch++){
- ctx->simd_f(out->ch+ch, in->ch+ch, off * (out->planar ? 1 :out->ch_count));
+ ctx->simd_f(out->ch+ch, (const uint8_t **)in->ch+ch, off * (out->planar ? 1 :out->ch_count));
}
}else{
- ctx->simd_f(out->ch, in->ch, off);
+ ctx->simd_f(out->ch, (const uint8_t **)in->ch, off);
}
}
if(off == len)