summaryrefslogtreecommitdiff
path: root/libavcodec/tscc2data.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-07-03 10:09:36 +0200
committerAnton Khirnov <anton@khirnov.net>2017-02-01 10:42:59 +0100
commitfd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 (patch)
treee9e285e1f4634de77b1657420b5121d109bed249 /libavcodec/tscc2data.h
parentb420a27e74750b60d2e064236afb10be06a38ace (diff)
Mark some arrays that never change as const.
Diffstat (limited to 'libavcodec/tscc2data.h')
-rw-r--r--libavcodec/tscc2data.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/tscc2data.h b/libavcodec/tscc2data.h
index ac0a898177..bcadc094a2 100644
--- a/libavcodec/tscc2data.h
+++ b/libavcodec/tscc2data.h
@@ -903,14 +903,14 @@ static const int tscc2_ac_vlc_sizes[NUM_VLC_SETS] = {
172, 169, 165, 162, 131, 132, 130, 125, 121, 114, 110, 101, 96
};
-static const uint16_t *tscc2_ac_vlc_syms[NUM_VLC_SETS] = {
+static const uint16_t * const tscc2_ac_vlc_syms[NUM_VLC_SETS] = {
ac_vlc_desc0_syms, ac_vlc_desc1_syms, ac_vlc_desc2_syms, ac_vlc_desc3_syms,
ac_vlc_desc4_syms, ac_vlc_desc5_syms, ac_vlc_desc6_syms, ac_vlc_desc7_syms,
ac_vlc_desc8_syms, ac_vlc_desc9_syms, ac_vlc_descA_syms, ac_vlc_descB_syms,
ac_vlc_descC_syms,
};
-static const uint16_t *tscc2_ac_vlc_codes[NUM_VLC_SETS] = {
+static const uint16_t * const tscc2_ac_vlc_codes[NUM_VLC_SETS] = {
ac_vlc_desc0_codes, ac_vlc_desc1_codes, ac_vlc_desc2_codes,
ac_vlc_desc3_codes, ac_vlc_desc4_codes, ac_vlc_desc5_codes,
ac_vlc_desc6_codes, ac_vlc_desc7_codes, ac_vlc_desc8_codes,
@@ -918,7 +918,7 @@ static const uint16_t *tscc2_ac_vlc_codes[NUM_VLC_SETS] = {
ac_vlc_descC_codes,
};
-static const uint8_t *tscc2_ac_vlc_bits[NUM_VLC_SETS] = {
+static const uint8_t * const tscc2_ac_vlc_bits[NUM_VLC_SETS] = {
ac_vlc_desc0_bits, ac_vlc_desc1_bits, ac_vlc_desc2_bits, ac_vlc_desc3_bits,
ac_vlc_desc4_bits, ac_vlc_desc5_bits, ac_vlc_desc6_bits, ac_vlc_desc7_bits,
ac_vlc_desc8_bits, ac_vlc_desc9_bits, ac_vlc_descA_bits, ac_vlc_descB_bits,