AAC: add a const to decode_spectrum_and_dequant() args
authorMåns Rullgård <mans@mansr.com>
Fri, 8 Jan 2010 17:52:54 +0000 (17:52 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 8 Jan 2010 17:52:54 +0000 (17:52 +0000)
Originally committed as revision 21099 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/aac.c

index c53d568..19b3153 100644 (file)
@@ -866,7 +866,7 @@ static void decode_mid_side_stereo(ChannelElement *cpe, GetBitContext *gb,
  * @return  Returns error status. 0 - OK, !0 - error
  */
 static int decode_spectrum_and_dequant(AACContext *ac, float coef[1024],
-                                       GetBitContext *gb, float sf[120],
+                                       GetBitContext *gb, const float sf[120],
                                        int pulse_present, const Pulse *pulse,
                                        const IndividualChannelStream *ics,
                                        enum BandType band_type[120])