diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-21 00:30:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-21 00:30:41 +0200 |
commit | e6459720b59073e98707f87243f5ee7bd7a3ecd7 (patch) | |
tree | 05b6214993d9297fcb92e05d893d7d47aa963f44 /libswresample/swresample_internal.h | |
parent | 76dbb0905a033c5a6a2b9f353f62946ce3c9c788 (diff) | |
download | ffmpeg-e6459720b59073e98707f87243f5ee7bd7a3ecd7.tar.gz |
swr: Mark src as const in swr_resample()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r-- | libswresample/swresample_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h index a9f1fe1211..4c6cf6764e 100644 --- a/libswresample/swresample_internal.h +++ b/libswresample/swresample_internal.h @@ -72,7 +72,7 @@ struct AVResampleContext *swr_resample_init(struct AVResampleContext *, int out_ void swr_resample_free(struct AVResampleContext **c); int swr_multiple_resample(struct AVResampleContext *c, AudioData *dst, int dst_size, AudioData *src, int src_size, int *consumed); void swr_resample_compensate(struct AVResampleContext *c, int sample_delta, int compensation_distance); -int swr_resample(struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx); +int swr_resample(struct AVResampleContext *c, short *dst, const short *src, int *consumed, int src_size, int dst_size, int update_ctx); int swr_rematrix_init(SwrContext *s); int swr_rematrix(SwrContext *s, AudioData *out, AudioData *in, int len, int mustcopy); |