100l divx501+ seeking bugfix

Originally committed as revision 651 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 23 years ago
parent bc45bca372
commit 4136dd2437
  1. 4
      libavcodec/h263dec.c

@ -131,11 +131,11 @@ uint64_t time= rdtsc();
return 0;
}
if(s->bitstream_buffer_size){ //divx 5.01+ frame reorder
if(s->bitstream_buffer_size && buf_size<20){ //divx 5.01+ frame reorder
init_get_bits(&s->gb, s->bitstream_buffer, s->bitstream_buffer_size);
s->bitstream_buffer_size=0;
}else
init_get_bits(&s->gb, buf, buf_size);
s->bitstream_buffer_size=0;
/* let's go :-) */
if (s->h263_msmpeg4) {

Loading…
Cancel
Save