diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-10-23 08:14:12 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-10-23 08:14:12 +0000 |
commit | 4a3d7fbcbcd38ae9684ee4bda92f293070710740 (patch) | |
tree | 18c687e1f138ab9c415a4b552db6582765940e91 /libavcodec/h263dec.c | |
parent | 8d0e42cad06a5726146048359de46459df3fb675 (diff) | |
download | ffmpeg-4a3d7fbcbcd38ae9684ee4bda92f293070710740.tar.gz |
fixing interlaced MC & edge-emu
Originally committed as revision 1066 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 1e4345e623..040e59a6f6 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -327,6 +327,8 @@ uint64_t time= rdtsc(); return 0; } +retry: + 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); }else @@ -431,8 +433,7 @@ uint64_t time= rdtsc(); avctx->aspected_height = s->aspected_height; } - if (MPV_common_init(s) < 0) - return -1; + goto retry; } if((s->codec_id==CODEC_ID_H263 || s->codec_id==CODEC_ID_H263P)) |