[FFmpeg-devel] [PATCH 09/30] avcodec/atrac3plus_data: Mark array as const

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Thu Dec 31 01:31:36 EET 2020


Forgotten in a7dbeb77c3c30ac4904928978938b209ff6e1ab1.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavcodec/atrac3plus_data.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/atrac3plus_data.h b/libavcodec/atrac3plus_data.h
index 7039936ba3..b0b85c4368 100644
--- a/libavcodec/atrac3plus_data.h
+++ b/libavcodec/atrac3plus_data.h
@@ -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 },
-- 
2.25.1



More information about the ffmpeg-devel mailing list