Commit 2f455800 authored by michael's avatar michael

fixing decoding of AlanKay-245.asf


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4219 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2842b0c2
...@@ -5809,7 +5809,7 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){ ...@@ -5809,7 +5809,7 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){
check_marker(gb, "before time_increment"); 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"); 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++){ for(s->time_increment_bits=1 ;s->time_increment_bits<16; s->time_increment_bits++){
......
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