[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h263.c,1.280,1.281

Michael Niedermayer CVS michael
Wed May 11 19:13:46 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv32129

Modified Files:
	h263.c 
Log Message:
fixing decoding of AlanKay-245.asf


Index: h263.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h263.c,v
retrieving revision 1.280
retrieving revision 1.281
diff -u -d -r1.280 -r1.281
--- h263.c	8 May 2005 20:15:42 -0000	1.280
+++ h263.c	11 May 2005 17:13:42 -0000	1.281
@@ -5808,8 +5808,8 @@
         time_incr++;
 
     check_marker(gb, "before time_increment");
-    
-    if(s->time_increment_bits==0){
+
+    if(s->time_increment_bits==0 || !(show_bits(gb, s->time_increment_bits+1)&1)){
         av_log(s->avctx, AV_LOG_ERROR, "hmm, seems the headers are not complete, trying to guess time_increment_bits\n");
 
         for(s->time_increment_bits=1 ;s->time_increment_bits<16; s->time_increment_bits++){





More information about the ffmpeg-cvslog mailing list