Commit 378b7bef authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer

mpeg12: fixed parsing in some mpeg2 streams

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e9a6152e
......@@ -2216,6 +2216,7 @@ int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size,
pc->frame_start_found = 4;
}
if (state == SEQ_END_CODE) {
pc->frame_start_found = 0;
pc->state=-1;
return i+1;
}
......
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