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
pull/5/head
Diego Biurrun 13 years ago
parent 1f068e4450
commit e484265c97
  1. 2
      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;

Loading…
Cancel
Save