mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 16:02:26 +00:00
Log incorrect picinfo size
This commit is contained in:
parent
ba1eb298de
commit
d7eef83531
@ -163,6 +163,8 @@ s32 PS4_SYSV_ABI sceVideodec2GetPictureInfo(const OrbisVideodec2OutputInfo* outp
|
||||
OrbisVideodec2AvcPictureInfo* picInfo =
|
||||
static_cast<OrbisVideodec2AvcPictureInfo*>(p1stPictureInfoOut);
|
||||
if (picInfo->thisSize != sizeof(OrbisVideodec2AvcPictureInfo)) {
|
||||
LOG_CRITICAL(Lib_Vdec2, "Mismatching sizes, first = {}, second = {}", picInfo->thisSize,
|
||||
sizeof(OrbisVideodec2AvcPictureInfo));
|
||||
return ORBIS_VIDEODEC2_ERROR_STRUCT_SIZE;
|
||||
}
|
||||
*picInfo = gPictureInfos.back();
|
||||
|
Loading…
Reference in New Issue
Block a user