mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 15:19:38 +03:00
set_sps(s, l, NULL) drops the SPS of a non-base layer whose VPS does not
match the active one. It also dropped the active VPS of the base layer,
the next base layer frame then dereferenced the NULL VPS in
ff_hevc_is_alpha_video().
Fixes: NULL pointer dereference
Fixes: 4WKa0bETBVfE
Regression since: c7f0753a6b
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24895
NULL pointer dereference Replicated through UnModified FFmpeg with ASAN