Commit 4136dd24 authored by Michael Niedermayer's avatar Michael Niedermayer

100l divx501+ seeking bugfix

Originally committed as revision 651 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bc45bca3
...@@ -131,11 +131,11 @@ uint64_t time= rdtsc(); ...@@ -131,11 +131,11 @@ uint64_t time= rdtsc();
return 0; 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); init_get_bits(&s->gb, s->bitstream_buffer, s->bitstream_buffer_size);
s->bitstream_buffer_size=0;
}else }else
init_get_bits(&s->gb, buf, buf_size); init_get_bits(&s->gb, buf, buf_size);
s->bitstream_buffer_size=0;
/* let's go :-) */ /* let's go :-) */
if (s->h263_msmpeg4) { if (s->h263_msmpeg4) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment