Commit 5ab9f348 authored by cehoyos's avatar cehoyos

Fix SEIs when splitting H264 input.

Patch by John Cox, jc A kynesim D co D uk 


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18020 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1fedd4b5
......@@ -70,7 +70,7 @@ int ff_h264_find_frame_end(H264Context *h, const uint8_t *buf, int buf_size)
else state>>=1; //2->1, 1->0, 0->0
}else if(state<=5){
int v= buf[i] & 0x1F;
if(v==7 || v==8 || v==9){
if(v==6 || v==7 || v==8 || v==9){
if(pc->frame_start_found){
i++;
goto found;
......
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