Adding function which enables writing H.264 NAL units.