diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-05-11 17:13:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-11 17:13:42 +0000 |
commit | 160147ccfcdea5951651d2648290da29c47118a5 (patch) | |
tree | 7170e512851ed0497b52f537399226f34d31c75d /libavcodec/h263.c | |
parent | aac064b5bdf4fa8d9061086485981624c6ffd75a (diff) | |
download | ffmpeg-160147ccfcdea5951651d2648290da29c47118a5.tar.gz |
fixing decoding of AlanKay-245.asf
Originally committed as revision 4219 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 0077d83b18..1825de9cde 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -5808,8 +5808,8 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){ time_incr++; check_marker(gb, "before time_increment"); - - if(s->time_increment_bits==0){ + + if(s->time_increment_bits==0 || !(show_bits(gb, s->time_increment_bits+1)&1)){ av_log(s->avctx, AV_LOG_ERROR, "hmm, seems the headers are not complete, trying to guess time_increment_bits\n"); for(s->time_increment_bits=1 ;s->time_increment_bits<16; s->time_increment_bits++){ |