Commit 38aba1fa authored by michael's avatar michael

Adjust threshold for xvid packed b frame detection.

Also add xvid_build check.
If you note any packed bitstream regressios, check this commit first and report it.
Fixes issue1652


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20997 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent befcf0b6
......@@ -682,7 +682,7 @@ retry:
}
}
}
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;
}
......
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