diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index f079557759..5a15bc4a44 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -681,7 +681,7 @@ frame_end: int current_pos= s->gb.buffer == s->bitstream_buffer ? 0 : (get_bits_count(&s->gb)>>3); int startcode_found=0; - if(buf_size - current_pos > 5){ + if(buf_size - current_pos > 7){ int i; for(i=current_pos; i