From 0724a674fce5d9f7b38e9828f6a03a31455c5acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 27 Jun 2010 19:27:08 +0000 Subject: [PATCH] Change type of zz_table to uint8_t to match the scantables it points to. Originally committed as revision 23831 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vc1dec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 8a583df963..3c596be01e 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -1481,7 +1481,7 @@ static int vc1_decode_i_block(VC1Context *v, DCTELEM block[64], int n, int coded { int last = 0, skip, value; - const int8_t *zz_table; + const uint8_t *zz_table; int scale; int k; @@ -1667,7 +1667,7 @@ static int vc1_decode_i_block_adv(VC1Context *v, DCTELEM block[64], int n, int c if(coded) { int last = 0, skip, value; - const int8_t *zz_table; + const uint8_t *zz_table; int k; if(v->s.ac_pred) { @@ -1874,7 +1874,7 @@ static int vc1_decode_intra_block(VC1Context *v, DCTELEM block[64], int n, int c if(coded) { int last = 0, skip, value; - const int8_t *zz_table; + const uint8_t *zz_table; int k; zz_table = wmv1_scantable[0];