diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-07-03 10:09:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-02-01 10:42:59 +0100 |
commit | fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 (patch) | |
tree | e9e285e1f4634de77b1657420b5121d109bed249 /libavcodec/aacenc.c | |
parent | b420a27e74750b60d2e064236afb10be06a38ace (diff) | |
download | ffmpeg-fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3.tar.gz |
Mark some arrays that never change as const.
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r-- | libavcodec/aacenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index c247c5b390..9b0e99b28d 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -98,7 +98,7 @@ static const uint8_t swb_size_1024_8[] = { 32, 36, 36, 40, 44, 48, 52, 56, 60, 64, 80 }; -static const uint8_t *swb_size_1024[] = { +static const uint8_t * const swb_size_1024[] = { swb_size_1024_96, swb_size_1024_96, swb_size_1024_64, swb_size_1024_48, swb_size_1024_48, swb_size_1024_32, swb_size_1024_24, swb_size_1024_24, swb_size_1024_16, @@ -125,7 +125,7 @@ static const uint8_t swb_size_128_8[] = { 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 12, 16, 20, 20 }; -static const uint8_t *swb_size_128[] = { +static const uint8_t * const swb_size_128[] = { /* the last entry on the following row is swb_size_128_64 but is a duplicate of swb_size_128_96 */ swb_size_128_96, swb_size_128_96, swb_size_128_96, |