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:
2ac736a
)
Fix SEIs when splitting H264 input.
author
John Cox
<jc@kynesim.co.uk>
Mon, 16 Mar 2009 22:38:27 +0000
(22:38 +0000)
committer
Carl Eugen Hoyos
<cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 16 Mar 2009 22:38:27 +0000
(22:38 +0000)
Patch by John Cox, jc A kynesim D co D uk
Originally committed as revision 18020 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_parser.c
b/libavcodec/h264_parser.c
index
39433bb
..
5f0c68c
100644
(file)
--- a/
libavcodec/h264_parser.c
+++ b/
libavcodec/h264_parser.c
@@
-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;