Browse Source

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
tags/n0.8
Reimar Döffinger 15 years ago
parent
commit
0724a674fc
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/vc1dec.c

+ 3
- 3
libavcodec/vc1dec.c 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;
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];


Loading…
Cancel
Save