[FFmpeg-devel] [PATCH RFC] avformat/hls: check IV size inside EXT-X-KEY
Anton Khirnov
anton at khirnov.net
Wed Apr 13 14:53:19 EEST 2022
Quoting Zhao Zhili (2022-04-12 10:27:50)
> IV should always be 128 bits. If the IV attribute was truncated
> inside EXT-X-KEY, padding on the left which is the same as when
> using sequence number as IV.
> ---
> I'm not sure which method is better: do padding or just return
> AVERROR_INVALIDDATA?
I would say return error, unless there are known buggy producers of
incomplete IVs that we want to support.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list