mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 01:12:33 +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 =
|
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 = {}",
|
LOG_CRITICAL(Lib_Vdec2, "Mismatching sizes, first = {}, second = {}",
|
||||||
picInfo->thisSize, sizeof(OrbisVideodec2AvcPictureInfo));
|
picInfo->thisSize, sizeof(OrbisVideodec2AvcPictureInfo));
|
||||||
return ORBIS_VIDEODEC2_ERROR_STRUCT_SIZE;
|
return ORBIS_VIDEODEC2_ERROR_STRUCT_SIZE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user