Re: [FFmpeg-devel] [PATCH 1/4] avformat/hlsenc: Fix extradata length check

2020-10-20 Thread Steven Liu
Andreas Rheinhardt 于2020年10月20日周二 下午7:03写道: > > Commit a2b1dd0ce301450a47c972745a6b33c4c273aa5d added support for > parsing annex B HEVC extradata to extract profile and level information. > Yet it only checks for there to be enough data left for the startcode > and the first byte of the NAL unit

[FFmpeg-devel] [PATCH 1/4] avformat/hlsenc: Fix extradata length check

2020-10-20 Thread Andreas Rheinhardt
Commit a2b1dd0ce301450a47c972745a6b33c4c273aa5d added support for parsing annex B HEVC extradata to extract profile and level information. Yet it only checks for there to be enough data left for the startcode and the first byte of the NAL unit header and not for the full NAL unit header; it simply