MP4 file created by VLC missing NALU type for user data unregistered SEI message.
Using VLC 2.2.0 Weatherwax
Within an MP4 AVC file created by VLC, the first sample of the first chunk contains a SEI message with payload 05 'user data unregistered' that is missing the first byte of a NAL unit: The NAL unit header (IDC + Type '06').
Please take a look at the attached image, which was taken from 'MP4 Reader' which shows the problem.
This presents a problem, because an MP4 parser that reads the first sample of the first chunk will interpret the first byte of the SEI message as the NALU type. In my example, the first byte of the SEI message is '05' which will be interpreted as a 'Coded slice of an IDR picture'.