diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-02-24 08:53:24 -0800 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-02-24 08:53:25 -0800 |
commit | 47b56c5a46287ea226c05e3c0238a91f4702491a (patch) | |
tree | 5bc9e006a7d0fdbedc19ecb8bc5e867123917c62 /media/libstagefright/codecs/aacenc/src/psy_main.c | |
parent | 1b7046108c0f381fa8b7efaebae02c1a2b3099b3 (diff) | |
parent | 4054856dad0952bc849453bd631dd3135532f328 (diff) | |
download | frameworks_base-47b56c5a46287ea226c05e3c0238a91f4702491a.zip frameworks_base-47b56c5a46287ea226c05e3c0238a91f4702491a.tar.gz frameworks_base-47b56c5a46287ea226c05e3c0238a91f4702491a.tar.bz2 |
Merge "stagefright aacenc: Add const declarations to some pointers"
Diffstat (limited to 'media/libstagefright/codecs/aacenc/src/psy_main.c')
-rw-r--r-- | media/libstagefright/codecs/aacenc/src/psy_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/aacenc/src/psy_main.c b/media/libstagefright/codecs/aacenc/src/psy_main.c index 085acb8..4e9218c 100644 --- a/media/libstagefright/codecs/aacenc/src/psy_main.c +++ b/media/libstagefright/codecs/aacenc/src/psy_main.c @@ -658,7 +658,8 @@ static Word16 advancePsychShort(PSY_DATA* psyData, Word32 normEnergyShift = (psyData->mdctScale + 1) << 1; /* in reference code, mdct spectrum must be multipied with 2, so +1 */ Word32 clipEnergy = hPsyConfShort->clipEnergy >> normEnergyShift; Word32 wOffset = 0; - Word32 *data0, *data1; + Word32 *data0; + const Word32 *data1; for(w = 0; w < TRANS_FAC; w++) { Word32 i, tdata; |