Fix for zero-sized SEI NAL units
When reading SEI NAL unit of size=0 (eg. DRAP SEI)
vector buf
may happen to be empty.
In this case expression &buf[0]
causes undefined behavior.
When reading SEI NAL unit of size=0 (eg. DRAP SEI)
vector buf
may happen to be empty.
In this case expression &buf[0]
causes undefined behavior.