diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-06-11 08:16:08 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-06-11 08:16:08 +0000 |
commit | 844d17fb14844779183f87aac539132360c31cd0 (patch) | |
tree | 8acf030478405bc565e51cd92af823f485547fbb /libavcodec | |
parent | 89bc05d1ea8e341b990d27c4cafa2f60a61b296d (diff) | |
download | ffmpeg-844d17fb14844779183f87aac539132360c31cd0.tar.gz |
Add const in cast. Removes warning:
libavcodec/resample.c:215: warning: assignment discards qualifiers from pointer target type
Originally committed as revision 19151 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/resample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c index fea8e75b35..e1d29f7e92 100644 --- a/libavcodec/resample.c +++ b/libavcodec/resample.c @@ -212,7 +212,7 @@ ReSampleContext *av_audio_resample_init(int output_channels, int input_channels, s->resample_context= av_resample_init(output_rate, input_rate, filter_length, log2_phase_count, linear, cutoff); - *(AVClass**)s->resample_context = &audioresample_context_class; + *(const AVClass**)s->resample_context = &audioresample_context_class; return s; } |