[FFmpeg-cvslog] avcodec/aacenctab: Make aac_maxval_cb const

Michael Niedermayer git at videolan.org
Wed Sep 23 13:05:34 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Sep 23 12:46:52 2015 +0200| [0c7ceb1e0acc2d4b741bce07ad70b353869da4c3] | committer: Michael Niedermayer

avcodec/aacenctab: Make aac_maxval_cb const

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/aacenctab.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/aacenctab.h b/libavcodec/aacenctab.h
index 381b4a4..9157cff 100644
--- a/libavcodec/aacenctab.h
+++ b/libavcodec/aacenctab.h
@@ -110,7 +110,7 @@ static const uint8_t aac_cb_in_map[CB_TOT_ALL+1] = {0,1,2,3,4,5,6,7,8,9,10,11,0,
 static const uint8_t aac_cb_range [12] = {0, 3, 3, 3, 3, 9, 9, 8, 8, 13, 13, 17};
 static const uint8_t aac_cb_maxval[12] = {0, 1, 1, 2, 2, 4, 4, 7, 7, 12, 12, 16};
 
-static unsigned char aac_maxval_cb[] = {
+static const unsigned char aac_maxval_cb[] = {
     0, 1, 3, 5, 5, 7, 7, 7, 9, 9, 9, 9, 9, 11
 };
 



More information about the ffmpeg-cvslog mailing list