mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
Apple VideoToolbox is the dominant producer of hevc-alpha videos, but early versions generates non-standard VPS extensions that fail to parse and return AVERROR_INVALIDDATA. Fix this by returning AVERROR_PATCHWELCOME instead of AVERROR_INVALIDDATA for unsupported VPS extension configurations. Setting poc_lsb_not_present for the alpha layer in the fallback path when it has no direct dependency on the base layer, so that IDR slices on the alpha layer won't incorrectly read pic_order_cnt_lsb. Fix #22384 Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>