[SCM] libav/experimental: AAC: add a const to decode_spectrum_and_dequant() args

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:57:08 UTC 2013


The following commit has been merged in the experimental branch:
commit 3963a17d0edc86eca5a4c35850e52360e03b6e4e
Author: Måns Rullgård <mans at mansr.com>
Date:   Fri Jan 8 17:52:54 2010 +0000

    AAC: add a const to decode_spectrum_and_dequant() args
    
    Originally committed as revision 21099 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/aac.c b/libavcodec/aac.c
index c53d568..19b3153 100644
--- a/libavcodec/aac.c
+++ b/libavcodec/aac.c
@@ -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])

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list