changeset 4386:09849d8689d6 libavcodec

1/0 fix
author michael
date Mon, 22 Jan 2007 22:27:02 +0000
parents c0e2e4249145
children 05ab6e897ffd
files h263dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Mon Jan 22 01:18:33 2007 +0000
+++ b/h263dec.c	Mon Jan 22 22:27:02 2007 +0000
@@ -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)