Commit 261b7155 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mpeg4videodec: Mark static table as const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c465254f
...@@ -1298,7 +1298,7 @@ static int mpeg4_decode_mb(MpegEncContext *s, int16_t block[6][64]) ...@@ -1298,7 +1298,7 @@ static int mpeg4_decode_mb(MpegEncContext *s, int16_t block[6][64])
Mpeg4DecContext *ctx = (Mpeg4DecContext *)s; Mpeg4DecContext *ctx = (Mpeg4DecContext *)s;
int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant; int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant;
int16_t *mot_val; int16_t *mot_val;
static int8_t quant_tab[4] = { -1, -2, 1, 2 }; static const int8_t quant_tab[4] = { -1, -2, 1, 2 };
const int xy = s->mb_x + s->mb_y * s->mb_stride; const int xy = s->mb_x + s->mb_y * s->mb_stride;
av_assert2(s->h263_pred); av_assert2(s->h263_pred);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment