mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
mpeg12: fixed parsing in some mpeg2 streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e9a6152e17
commit
378b7beff5
@ -2216,6 +2216,7 @@ int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size,
|
|||||||
pc->frame_start_found = 4;
|
pc->frame_start_found = 4;
|
||||||
}
|
}
|
||||||
if (state == SEQ_END_CODE) {
|
if (state == SEQ_END_CODE) {
|
||||||
|
pc->frame_start_found = 0;
|
||||||
pc->state=-1;
|
pc->state=-1;
|
||||||
return i+1;
|
return i+1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user