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
8b7eed3ffc
commit
f1fddbc829
2
externals/LibAtrac9
vendored
2
externals/LibAtrac9
vendored
@ -1 +1 @@
|
|||||||
Subproject commit ec8899dadf393f655f2871a94e0fe4b3d6220c9a
|
Subproject commit 9640129dc6f2afbca6ceeca3019856e8653a5fb2
|
2
externals/MoltenVK/MoltenVK
vendored
2
externals/MoltenVK/MoltenVK
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 2048427e50f9eb20f2b8f98d316ecaee398c9b91
|
Subproject commit 0c090001cb42997031cfe43914340e2639944972
|
2
externals/MoltenVK/SPIRV-Cross
vendored
2
externals/MoltenVK/SPIRV-Cross
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 2c32b6bf86f3c4a5539aa1f0bacbd59fe61759cf
|
Subproject commit 1a7b7ef6de02cf6767e42b10ddad217c45e90d47
|
@ -163,6 +163,8 @@ s32 PS4_SYSV_ABI sceVideodec2GetPictureInfo(const OrbisVideodec2OutputInfo* outp
|
|||||||
OrbisVideodec2AvcPictureInfo* picInfo =
|
OrbisVideodec2AvcPictureInfo* picInfo =
|
||||||
static_cast<OrbisVideodec2AvcPictureInfo*>(p1stPictureInfoOut);
|
static_cast<OrbisVideodec2AvcPictureInfo*>(p1stPictureInfoOut);
|
||||||
if (picInfo->thisSize != sizeof(OrbisVideodec2AvcPictureInfo)) {
|
if (picInfo->thisSize != sizeof(OrbisVideodec2AvcPictureInfo)) {
|
||||||
|
LOG_CRITICAL(Lib_Vdec2, "GetPictureInfo mismatching sizes, first = {}, second = {}",
|
||||||
|
picInfo->thisSize, sizeof(OrbisVideodec2AvcPictureInfo));
|
||||||
return ORBIS_VIDEODEC2_ERROR_STRUCT_SIZE;
|
return ORBIS_VIDEODEC2_ERROR_STRUCT_SIZE;
|
||||||
}
|
}
|
||||||
*picInfo = gPictureInfos.back();
|
*picInfo = gPictureInfos.back();
|
||||||
|
Loading…
Reference in New Issue
Block a user