# HG changeset patch # User michael # Date 1262381568 0 # Node ID 1d22da3122b9bd33c88a4ce1c5546b708eb79cbb # Parent c199eb2ad4ec8dd2bda76401525e1ec42bd811f0 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 diff -r c199eb2ad4ec -r 1d22da3122b9 h263dec.c --- a/h263dec.c Fri Jan 01 21:07:52 2010 +0000 +++ b/h263dec.c Fri Jan 01 21:32:48 2010 +0000 @@ -682,7 +682,7 @@ } } } - if(s->gb.buffer == s->bitstream_buffer && buf_size>20){ //xvid style + if(s->gb.buffer == s->bitstream_buffer && buf_size>7 && s->xvid_build){ //xvid style startcode_found=1; current_pos=0; }