aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-22 22:27:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-22 22:27:02 +0000
commitb34397b4cd780b5692548e7d021ec884c7217dba (patch)
tree859e420fa499a4fe22a8df2c0c662cc6a5403ede /libavcodec/h263dec.c
parentf7835507cb1398d24cad5c9cda759846cd92da73 (diff)
downloadffmpeg-b34397b4cd780b5692548e7d021ec884c7217dba.tar.gz
1/0 fix
Originally committed as revision 7658 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 66370c1799..9246b52171 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -729,7 +729,7 @@ retry:
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)