changeset 11982:669bf7f6c986 libavcodec

Change type of zz_table to uint8_t to match the scantables it points to.
author reimar
date Sun, 27 Jun 2010 19:27:08 +0000
parents d3551fcf4c1c
children 5071d562408d
files vc1dec.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/vc1dec.c	Sun Jun 27 15:11:38 2010 +0000
+++ b/vc1dec.c	Sun Jun 27 19:27:08 2010 +0000
@@ -1481,7 +1481,7 @@
 
     {
         int last = 0, skip, value;
-        const int8_t *zz_table;
+        const uint8_t *zz_table;
         int scale;
         int k;
 
@@ -1667,7 +1667,7 @@
 
     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 @@
 
     if(coded) {
         int last = 0, skip, value;
-        const int8_t *zz_table;
+        const uint8_t *zz_table;
         int k;
 
         zz_table = wmv1_scantable[0];