Browse code

avcodec/mpeg4videodec: Mark static table as const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2015/06/11 07:20:46
Showing 1 changed files
... ...
@@ -1298,7 +1298,7 @@ static int mpeg4_decode_mb(MpegEncContext *s, int16_t block[6][64])
1298 1298
     Mpeg4DecContext *ctx = (Mpeg4DecContext *)s;
1299 1299
     int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant;
1300 1300
     int16_t *mot_val;
1301
-    static int8_t quant_tab[4] = { -1, -2, 1, 2 };
1301
+    static const int8_t quant_tab[4] = { -1, -2, 1, 2 };
1302 1302
     const int xy = s->mb_x + s->mb_y * s->mb_stride;
1303 1303
 
1304 1304
     av_assert2(s->h263_pred);