10l int vs uint8_t
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 12 Oct 2006 18:41:29 +0000 (18:41 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 12 Oct 2006 18:41:29 +0000 (18:41 +0000)
Originally committed as revision 6675 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index e7b7661..59a5b1f 100644 (file)
@@ -6117,7 +6117,7 @@ static int decode_cabac_residual( H264Context *h, DCTELEM *block, int cat, int n
                 } \
             } \
         }
-        const int *sig_off = significant_coeff_flag_offset_8x8[MB_FIELD];
+        const uint8_t *sig_off = significant_coeff_flag_offset_8x8[MB_FIELD];
         DECODE_SIGNIFICANCE( 63, sig_off[last], last_coeff_flag_offset_8x8[last] );
     } else {
         DECODE_SIGNIFICANCE( max_coeff - 1, last, last );