Mercurial > libavcodec.hg
comparison h263.c @ 2666:06f0744ffc18 libavcodec
fixing decoding of AlanKay-245.asf
author | michael |
---|---|
date | Wed, 11 May 2005 17:13:42 +0000 |
parents | d1609cfeb1d0 |
children | edd8e513376c |
comparison
equal
deleted
inserted
replaced
2665:5ea2a7f74817 | 2666:06f0744ffc18 |
---|---|
5806 time_incr=0; | 5806 time_incr=0; |
5807 while (get_bits1(gb) != 0) | 5807 while (get_bits1(gb) != 0) |
5808 time_incr++; | 5808 time_incr++; |
5809 | 5809 |
5810 check_marker(gb, "before time_increment"); | 5810 check_marker(gb, "before time_increment"); |
5811 | 5811 |
5812 if(s->time_increment_bits==0){ | 5812 if(s->time_increment_bits==0 || !(show_bits(gb, s->time_increment_bits+1)&1)){ |
5813 av_log(s->avctx, AV_LOG_ERROR, "hmm, seems the headers are not complete, trying to guess time_increment_bits\n"); | 5813 av_log(s->avctx, AV_LOG_ERROR, "hmm, seems the headers are not complete, trying to guess time_increment_bits\n"); |
5814 | 5814 |
5815 for(s->time_increment_bits=1 ;s->time_increment_bits<16; s->time_increment_bits++){ | 5815 for(s->time_increment_bits=1 ;s->time_increment_bits<16; s->time_increment_bits++){ |
5816 if(show_bits(gb, s->time_increment_bits+1)&1) break; | 5816 if(show_bits(gb, s->time_increment_bits+1)&1) break; |
5817 } | 5817 } |