mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2611] [CLOSED] Videodec2 mismatching picture info size crash fix #2860
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2860
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2611
Author: @Hasster1
Created: 3/6/2025
Status: ❌ Closed
Base:
main← Head:videodec2Log📝 Commits (4)
f1fddbcAdd a log message when GetPictureInfo has mismatching sizes of pictures.79cd5e6Add a log message when GetPictureInfo has mismatching sizes of pictures.5bc6a02Move "*picInfo" = gPictureInfos.Back()" before the returnede9082Fix submodules, accidentally somehow updated them.📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
src/core/libraries/videodec/videodec2.cpp(+6 -1)📄 Description
Returning before setting *picInfo causes the emu to crash. I think it's better to let it deal with whatever corrupted size it is, rather than forcing the emu to crash.
Also added logging.
Closes the https://github.com/shadps4-emu/shadPS4/issues/2604
First pull request here, please correct me if something's wrong.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.