diff options
author | John Cox <jc@kynesim.co.uk> | 2009-03-16 22:38:27 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-03-16 22:38:27 +0000 |
commit | 9e85f9c526862c8ad7f8271abc20009d8772a619 (patch) | |
tree | f9b81270d2ceb7a5290ded420f183e86d2a73094 /libavcodec/h264_parser.c | |
parent | 2ac736a6dadd174d1056beb75de6f85022b4fd1e (diff) | |
download | ffmpeg-9e85f9c526862c8ad7f8271abc20009d8772a619.tar.gz |
Fix SEIs when splitting H264 input.
Patch by John Cox, jc A kynesim D co D uk
Originally committed as revision 18020 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r-- | libavcodec/h264_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 39433bb2e9..5f0c68c787 100644 --- 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; |