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
This commit is contained in:
Reimar Döffinger 2010-06-27 19:27:08 +00:00
parent 93f7aeb5ad
commit 0724a674fc

View File

@ -1481,7 +1481,7 @@ static int vc1_decode_i_block(VC1Context *v, DCTELEM block[64], int n, int coded
{ {
int last = 0, skip, value; int last = 0, skip, value;
const int8_t *zz_table; const uint8_t *zz_table;
int scale; int scale;
int k; int k;
@ -1667,7 +1667,7 @@ static int vc1_decode_i_block_adv(VC1Context *v, DCTELEM block[64], int n, int c
if(coded) { if(coded) {
int last = 0, skip, value; int last = 0, skip, value;
const int8_t *zz_table; const uint8_t *zz_table;
int k; int k;
if(v->s.ac_pred) { 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) { if(coded) {
int last = 0, skip, value; int last = 0, skip, value;
const int8_t *zz_table; const uint8_t *zz_table;
int k; int k;
zz_table = wmv1_scantable[0]; zz_table = wmv1_scantable[0];