aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-05-15 01:17:02 +0200
committerPaul B Mahol <onemda@gmail.com>2016-05-15 01:19:49 +0200
commit26eee872e8ca65f59114280853d868e3dd23a114 (patch)
tree1561ec93d9e000dbbf6dc6f2f92ede43949e3004 /libavcodec
parentf57897e498fb887ca89ce72b0e787b137c6f6d7f (diff)
downloadffmpeg-26eee872e8ca65f59114280853d868e3dd23a114.tar.gz
avcodec/escape124: change transitions table type to int8_t
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/escape124.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/escape124.c b/libavcodec/escape124.c
index 50a86c8355..9a51bdaa9c 100644
--- a/libavcodec/escape124.c
+++ b/libavcodec/escape124.c
@@ -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];
}