[vlc-devel] [PATCH] h264_nal: fix NAL parsing

Francois Cartegnie fcvlcdev at free.fr
Mon Jul 13 14:03:41 CEST 2015

Le 13/07/2015 13:58, Rémi Denis-Courmont a écrit :
> Le 2015-07-13 14:22, Thomas Guillem a écrit :
>> The NAL start code prefix is "0x00 0x00 0x01" and is not always
>> followed by an other zero byte.
> NAL start code is always followed by the first NAL byte, which cannot be
> zero in current H.264.
> I stopped reading here since it makes no sense.

He meant "prefixed" by zero, as someone assummed start code was always 4
bytes, when the spec says it is 3 bytes, plus a leading 0 for the whole
nal sequence.


More information about the vlc-devel mailing list