changeset 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 a4842fc20ac8
files h263dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
         }