Fix reading HEVC in MPEG TS.
Fix reading the first slice flag, which before could cause a read out of bounds if the NAL unit started at the end of the buffer. Handle non-VCL NAL units by flushing a pending sample when starting to read one.
Showing
with
109 additions
and
65 deletions
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment