Commit 0724a674 authored by Reimar Döffinger's avatar Reimar Döffinger

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
parent 93f7aeb5
...@@ -1481,7 +1481,7 @@ static int vc1_decode_i_block(VC1Context *v, DCTELEM block[64], int n, int coded ...@@ -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 ...@@ -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 ...@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment