diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-04-04 10:06:58 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-04-04 19:34:40 +0200 |
commit | e484265c9712dd108c61f21bbc7644a2b791f36f (patch) | |
tree | 651689a6a90ba6888c60d1419b3bb493f63082aa /libavcodec/aacenc.c | |
parent | 1f068e4450620f4f6e20f024e442e3fd47876e37 (diff) | |
download | ffmpeg-e484265c9712dd108c61f21bbc7644a2b791f36f.tar.gz |
aacenc: Mark deinterleave_input_samples argument as const.
This fixes the warning:
libavcodec/aacenc.c:524: warning: passing argument 2 of ‘deinterleave_input_samples’ discards qualifiers from pointer target type
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r-- | libavcodec/aacenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 952b6149f1..bc99a443b3 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -477,7 +477,7 @@ static void put_bitstream_info(AVCodecContext *avctx, AACEncContext *s, * Deinterleave input samples. * Channels are reordered from Libav's default order to AAC order. */ -static void deinterleave_input_samples(AACEncContext *s, AVFrame *frame) +static void deinterleave_input_samples(AACEncContext *s, const AVFrame *frame) { int ch, i; const int sinc = s->channels; |