[FFmpeg-cvslog] avcodec/atrac3plus_data: Mark array as const

Andreas Rheinhardt git at videolan.org
Fri Jan 1 01:07:21 EET 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Sun Dec 27 19:42:35 2020 +0100| [2c3393d15dcb5653dd9b705775417c7c537bcaf1] | committer: Andreas Rheinhardt

avcodec/atrac3plus_data: Mark array as const

Forgotten in a7dbeb77c3c30ac4904928978938b209ff6e1ab1.

Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2c3393d15dcb5653dd9b705775417c7c537bcaf1
---

 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 },



More information about the ffmpeg-cvslog mailing list