aboutsummaryrefslogtreecommitdiff
path: root/libswresample/resample2.c
diff options
context:
space:
mode:
authorMichael Niedermayer2011-10-21 00:31:20 +0200
committerMichael Niedermayer2011-10-21 00:31:20 +0200
commit03e56a2ad932203987ba48678689cf1836a86337 (patch)
treeb165b544e9b79f4b8f03a5999e05e63cf031e42f /libswresample/resample2.c
parente6459720b59073e98707f87243f5ee7bd7a3ecd7 (diff)
resample2: Fix passing argument from incompatible pointer type warnings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/resample2.c')
-rw-r--r--libswresample/resample2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/resample2.c b/libswresample/resample2.c
index ac1610aa26..6af2b6c661 100644
--- a/libswresample/resample2.c
+++ b/libswresample/resample2.c
@@ -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;