[Ffmpeg-cvslog] r7658 - trunk/libavcodec/h263dec.c

michael subversion
Mon Jan 22 23:27:02 CET 2007


Author: michael
Date: Mon Jan 22 23:27:02 2007
New Revision: 7658

Modified:
   trunk/libavcodec/h263dec.c

Log:
1/0 fix


Modified: trunk/libavcodec/h263dec.c
==============================================================================
--- trunk/libavcodec/h263dec.c	(original)
+++ trunk/libavcodec/h263dec.c	Mon Jan 22 23:27:02 2007
@@ -729,7 +729,7 @@
     decode_slice(s);
     while(s->mb_y<s->mb_height){
         if(s->msmpeg4_version){
-            if(s->mb_x!=0 || (s->mb_y%s->slice_height)!=0 || get_bits_count(&s->gb) > s->gb.size_in_bits)
+            if(s->slice_height==0 || s->mb_x!=0 || (s->mb_y%s->slice_height)!=0 || get_bits_count(&s->gb) > s->gb.size_in_bits)
                 break;
         }else{
             if(ff_h263_resync(s)<0)




More information about the ffmpeg-cvslog mailing list