]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/atrac3plus_data: Mark array as const
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 27 Dec 2020 18:42:35 +0000 (19:42 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 31 Dec 2020 20:49:33 +0000 (21:49 +0100)
Forgotten in a7dbeb77c3c30ac4904928978938b209ff6e1ab1.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/atrac3plus_data.h

index 7039936ba3b21c6944238519fa3884b73b70d354..b0b85c4368e081a608b95d50526709cafc5bff72 100644 (file)
@@ -393,7 +393,7 @@ static const uint8_t atrac3p_ct_restricted_to_full[2][7][4] = {
 
 /* If the first entry of a subtable is negative, it means
  * that another VLC is to be reused. */
-static int8_t atrac3p_spectra_cbs[][12] = {
+static const int8_t atrac3p_spectra_cbs[][12] = {
     {  1,  0,  0,  1,  7,  0, 19,  5, 13, 21,  6,  8 },
     {  0,  1,  0,  4, 11,  0,  1, 29,  6, 20,  7,  2 },
     {  0,  0,  1,  8,  0, 13, 18,  7,  2,  0,  0,  0 },