summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-10-12 12:27:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-10-12 12:27:02 +0000
commit1f6049f5151a43ebb15f4cb09befb30a41fcad3e (patch)
tree0cf77abc9077502aad14c6d7333cec9fae261895
parent29f86228a0d77bd6f62e66334b732650396f9571 (diff)
int->uint8_t for 2 tables
Originally committed as revision 6673 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index cfb611691e..b5d6fd6b80 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -6048,7 +6048,7 @@ static int decode_cabac_residual( H264Context *h, DCTELEM *block, int cat, int n
static const int coeff_abs_level_m1_offset[6] = {
227+0, 227+10, 227+20, 227+30, 227+39, 426
};
- static const int significant_coeff_flag_offset_8x8[2][63] = {
+ static const uint8_t significant_coeff_flag_offset_8x8[2][63] = {
{ 0, 1, 2, 3, 4, 5, 5, 4, 4, 3, 3, 4, 4, 4, 5, 5,
4, 4, 4, 4, 3, 3, 6, 7, 7, 7, 8, 9,10, 9, 8, 7,
7, 6,11,12,13,11, 6, 7, 8, 9,14,10, 9, 8, 6,11,
@@ -6058,7 +6058,7 @@ static int decode_cabac_residual( H264Context *h, DCTELEM *block, int cat, int n
9, 9,10,10, 8,11,12,11, 9, 9,10,10, 8,13,13, 9,
9,10,10, 8,13,13, 9, 9,10,10,14,14,14,14,14 }
};
- static const int last_coeff_flag_offset_8x8[63] = {
+ static const uint8_t last_coeff_flag_offset_8x8[63] = {
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4,