mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-19 05:40:56 +00:00
avcodec/escape124: change transitions table type to int8_t
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
f57897e498
commit
26eee872e8
@ -145,7 +145,7 @@ static MacroBlock decode_macroblock(Escape124Context* s, GetBitContext* gb,
|
||||
unsigned block_index, depth;
|
||||
int value = get_bits1(gb);
|
||||
if (value) {
|
||||
static const char transitions[3][2] = { {2, 1}, {0, 2}, {1, 0} };
|
||||
static const int8_t transitions[3][2] = { {2, 1}, {0, 2}, {1, 0} };
|
||||
value = get_bits1(gb);
|
||||
*codebook_index = transitions[*codebook_index][value];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user