cellVdec: fixup

This commit is contained in:
capriots 2026-04-25 18:01:50 +02:00 committed by Elad
parent 3ff4f188f4
commit 96f73f4497

View File

@ -1375,7 +1375,7 @@ static error_code vdecOpen(ppu_thread& ppu, T type, U res, vm::cptr<CellVdecCb>
if constexpr (std::is_same_v<std::decay_t<typename T::type>, CellVdecTypeEx>)
{
spec = type->codecSpecificInfo.get_ptr();
spec = type->codecSpecificInfo ? type->codecSpecificInfo.get_ptr() : nullptr;
}
VdecDecoderAttr attr;