projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca93f0f
)
mpeg12: fixed parsing in some mpeg2 streams
author
Hendrik Leppkes
<h.leppkes@gmail.com>
Sun, 29 Apr 2012 16:33:40 +0000
(16:33 +0000)
committer
Derek Buitenhuis
<derek.buitenhuis@gmail.com>
Thu, 3 May 2012 16:15:52 +0000
(12:15 -0400)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/mpeg12.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12.c
b/libavcodec/mpeg12.c
index 40ba97b0d0b8dc0138aa7db3382a12faec8435b3..c40649d92c3380285c2e1f8c8de2ba54f19ee396 100644
(file)
--- 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;
}