comparison h263dec.c @ 10761:1d22da3122b9 libavcodec

Adjust threshold for xvid packed b frame detection. Also add xvid_build check. If you note any packed bitstream regression, check this commit first and report it. Fixes issue1652
author michael
date Fri, 01 Jan 2010 21:32:48 +0000
parents c199eb2ad4ec
children 0c8f9288b5e4
comparison
equal deleted inserted replaced
10760:c199eb2ad4ec 10761:1d22da3122b9
680 startcode_found=1; 680 startcode_found=1;
681 break; 681 break;
682 } 682 }
683 } 683 }
684 } 684 }
685 if(s->gb.buffer == s->bitstream_buffer && buf_size>20){ //xvid style 685 if(s->gb.buffer == s->bitstream_buffer && buf_size>7 && s->xvid_build){ //xvid style
686 startcode_found=1; 686 startcode_found=1;
687 current_pos=0; 687 current_pos=0;
688 } 688 }
689 689
690 if(startcode_found){ 690 if(startcode_found){