Mercurial > libavcodec.hg
comparison h263dec.c @ 4386:09849d8689d6 libavcodec
1/0 fix
author | michael |
---|---|
date | Mon, 22 Jan 2007 22:27:02 +0000 |
parents | bbe0bc387a19 |
children | 5bcb6208ac58 |
comparison
equal
deleted
inserted
replaced
4385:c0e2e4249145 | 4386:09849d8689d6 |
---|---|
727 s->mb_y=0; | 727 s->mb_y=0; |
728 | 728 |
729 decode_slice(s); | 729 decode_slice(s); |
730 while(s->mb_y<s->mb_height){ | 730 while(s->mb_y<s->mb_height){ |
731 if(s->msmpeg4_version){ | 731 if(s->msmpeg4_version){ |
732 if(s->mb_x!=0 || (s->mb_y%s->slice_height)!=0 || get_bits_count(&s->gb) > s->gb.size_in_bits) | 732 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) |
733 break; | 733 break; |
734 }else{ | 734 }else{ |
735 if(ff_h263_resync(s)<0) | 735 if(ff_h263_resync(s)<0) |
736 break; | 736 break; |
737 } | 737 } |