[FFmpeg-cvslog] r20997 - trunk/libavcodec/h263dec.c

michael subversion
Fri Jan 1 22:32:48 CET 2010


Author: michael
Date: Fri Jan  1 22:32:48 2010
New Revision: 20997

Log:
Adjust threshold for xvid packed b frame detection.
Also add xvid_build check.
If you note any packed bitstream regressios, check this commit first and report it.
Fixes issue1652

Modified:
   trunk/libavcodec/h263dec.c

Modified: trunk/libavcodec/h263dec.c
==============================================================================
--- trunk/libavcodec/h263dec.c	Fri Jan  1 22:07:52 2010	(r20996)
+++ trunk/libavcodec/h263dec.c	Fri Jan  1 22:32:48 2010	(r20997)
@@ -682,7 +682,7 @@ retry:
                 }
             }
         }
-        if(s->gb.buffer == s->bitstream_buffer && buf_size>20){ //xvid style
+        if(s->gb.buffer == s->bitstream_buffer && buf_size>7 && s->xvid_build){ //xvid style
             startcode_found=1;
             current_pos=0;
         }



More information about the ffmpeg-cvslog mailing list