From 9fc4dfb69df0b5a13b7a1904272eb1dcf8113d0c Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Wed, 22 Dec 2010 22:23:06 +0100 Subject: stagefright aacenc: Add const declarations to some pointers This avoids some compilation warnings. Change-Id: Ia89ab94020a9f1ee4c1df48823fb89325cca7d36 --- media/libstagefright/codecs/aacenc/inc/psy_configuration.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'media/libstagefright/codecs/aacenc/inc') diff --git a/media/libstagefright/codecs/aacenc/inc/psy_configuration.h b/media/libstagefright/codecs/aacenc/inc/psy_configuration.h index 9abfc99..f6981fa 100644 --- a/media/libstagefright/codecs/aacenc/inc/psy_configuration.h +++ b/media/libstagefright/codecs/aacenc/inc/psy_configuration.h @@ -31,7 +31,7 @@ typedef struct{ Word16 sfbCnt; Word16 sfbActive; /* number of sf bands containing energy after lowpass */ - Word16 *sfbOffset; + const Word16 *sfbOffset; Word32 sfbThresholdQuiet[MAX_SFB_LONG]; @@ -61,7 +61,7 @@ typedef struct{ Word16 sfbCnt; Word16 sfbActive; /* number of sf bands containing energy after lowpass */ - Word16 *sfbOffset; + const Word16 *sfbOffset; Word32 sfbThresholdQuiet[MAX_SFB_SHORT]; -- cgit v1.1