From c7d5049c98ee4a0c9c0b6c085892a875b6302f2f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 22 Mar 2002 02:36:08 +0000 Subject: [PATCH] oops Originally committed as revision 345 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h263.c b/libavcodec/h263.c index a1e038e583..60baedb47f 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -2125,7 +2125,7 @@ int mpeg4_decode_picture_header(MpegEncContext * s) break; } state = ((state << 8) | v) & 0xffffff; - if( get_bits_count(&s->gb) > s->gb.size*8){ + if( get_bits_count(&s->gb) > s->gb.size*8-32){ printf("no VOP startcode found\n"); return -1; }