Commit 03e56a2a authored by Michael Niedermayer's avatar Michael Niedermayer

resample2: Fix passing argument from incompatible pointer type warnings.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e6459720
......@@ -344,7 +344,7 @@ int swr_multiple_resample(AVResampleContext *c, AudioData *dst, int dst_size, Au
int i, ret= -1;
for(i=0; i<dst->ch_count; i++){
ret= swr_resample(c, dst->ch[i], src->ch[i], consumed, src_size, dst_size, i+1==dst->ch_count);
ret= swr_resample(c, (short*)dst->ch[i], (const short*)src->ch[i], consumed, src_size, dst_size, i+1==dst->ch_count);
}
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment