]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
matroskaenc: correctly handle h264 streams with 3 bytes nal startcodes
authoraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 20 Jan 2009 00:52:12 +0000 (00:52 +0000)
committeraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 20 Jan 2009 00:52:12 +0000 (00:52 +0000)
commit3ea5851849ff0fa6ef7536e3388ce31756ce007f
treeebd347666887acbeee342a9ed2f478e68d31d091
parent31673115cff28449564a36409689717c50f68c86
matroskaenc: correctly handle h264 streams with 3 bytes nal startcodes
This implies using ff_avc_parse_nal_units_buf instead of ff_avc_parse_nal_units
because with 3 bytes startcodes the parsed packet size will change, and the
size must be written before the packet content.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16690 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavformat/matroskaenc.c