History

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

Originally committed as revision 20997 to svn://svn.ffmpeg.org/ffmpeg/trunk

Michael Niedermayer committed 16 years ago

Commit 24b207b1 parent 6c587581 file · +1 −1Browse files

Unified · Split

libavcodec/h263dec.c+1−1
@@ -682,7 +682,7 @@ retry: · 681 unmodified lines
682 }682 }
683 }683 }
684 }684 }
685 if(s->gb.buffer == s->bitstream_buffer && buf_size>20){ //xvid style685 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 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t