Skip to content

Commit 96f73f4

Browse files
capriotselad335
authored andcommitted
cellVdec: fixup
1 parent 3ff4f18 commit 96f73f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rpcs3/Emu/Cell/Modules/cellVdec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ static error_code vdecOpen(ppu_thread& ppu, T type, U res, vm::cptr<CellVdecCb>
13751375

13761376
if constexpr (std::is_same_v<std::decay_t<typename T::type>, CellVdecTypeEx>)
13771377
{
1378-
spec = type->codecSpecificInfo.get_ptr();
1378+
spec = type->codecSpecificInfo ? type->codecSpecificInfo.get_ptr() : nullptr;
13791379
}
13801380

13811381
VdecDecoderAttr attr;

0 commit comments

Comments
 (0)