diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-06-02 22:08:04 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-06-02 22:08:04 +0000 |
commit | 4136dd2437c896c585e220a9400e323fd4b2392b (patch) | |
tree | 76febc075cda0a872d92763f4909c0cd53d83be1 /libavcodec/h263dec.c | |
parent | bc45bca372e9af5659bcbfccf0912ff57b7a0bb0 (diff) | |
download | ffmpeg-4136dd2437c896c585e220a9400e323fd4b2392b.tar.gz |
100l divx501+ seeking bugfix
Originally committed as revision 651 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index ea3a54e715..6616a0e37b 100644 --- a/libavcodec/h263dec.c +++ b/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) { |