[FFmpeg-cvslog] r19303 - trunk/libavcodec/cavsdec.c

stefang subversion
Tue Jun 30 08:44:33 CEST 2009


Author: stefang
Date: Tue Jun 30 08:44:32 2009
New Revision: 19303

Log:
fix slice header checking

Modified:
   trunk/libavcodec/cavsdec.c

Modified: trunk/libavcodec/cavsdec.c
==============================================================================
--- trunk/libavcodec/cavsdec.c	Tue Jun 30 05:57:27 2009	(r19302)
+++ trunk/libavcodec/cavsdec.c	Tue Jun 30 08:44:32 2009	(r19303)
@@ -441,7 +441,7 @@ static inline int check_for_slice(AVSCon
     align = (-get_bits_count(gb)) & 7;
     /* check for stuffing byte */
     if(!align && (show_bits(gb,8) == 0x80))
-        get_bits(gb,8);
+        align = 8;
     if((show_bits_long(gb,24+align) & 0xFFFFFF) == 0x000001) {
         skip_bits_long(gb,24+align);
         h->stc = get_bits(gb,8);



More information about the ffmpeg-cvslog mailing list