mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 08:52:36 +00:00
Add a log message when GetPictureInfo has mismatching sizes of pictures.
This commit is contained in:
parent
f1fddbc829
commit
79cd5e69a2
@ -163,7 +163,7 @@ s32 PS4_SYSV_ABI sceVideodec2GetPictureInfo(const OrbisVideodec2OutputInfo* outp
|
||||
OrbisVideodec2AvcPictureInfo* picInfo =
|
||||
static_cast<OrbisVideodec2AvcPictureInfo*>(p1stPictureInfoOut);
|
||||
if (picInfo->thisSize != sizeof(OrbisVideodec2AvcPictureInfo)) {
|
||||
LOG_CRITICAL(Lib_Vdec2, "GetPictureInfo mismatching sizes, first = {}, second = {}",
|
||||
LOG_CRITICAL(Lib_Vdec2, "Mismatching sizes, first = {}, second = {}",
|
||||
picInfo->thisSize, sizeof(OrbisVideodec2AvcPictureInfo));
|
||||
return ORBIS_VIDEODEC2_ERROR_STRUCT_SIZE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user