diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-04-29 16:33:40 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-05-03 12:15:52 -0400 |
commit | 1d4a01474d54a4d3bb59dc94d285334f7bcbd889 (patch) | |
tree | dc5353c0118a97f91ef71bbb5aa6930b83d2d0e0 /libavcodec | |
parent | ca93f0fa361c302e60455c5b82f88422ab66f589 (diff) | |
download | ffmpeg-1d4a01474d54a4d3bb59dc94d285334f7bcbd889.tar.gz |
mpeg12: fixed parsing in some mpeg2 streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpeg12.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 40ba97b0d0..c40649d92c 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -2161,6 +2161,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; } |