mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
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:
parent
93f7aeb5ad
commit
0724a674fc
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user