Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some mpeg issues #9014

Merged
merged 2 commits into from
Sep 29, 2016
Merged

Fix some mpeg issues #9014

merged 2 commits into from
Sep 29, 2016

Conversation

unknownbrackets
Copy link
Collaborator

@unknownbrackets unknownbrackets commented Sep 25, 2016

It turns out we were mistreating some data in the header in some cases - fixes #9002.

Additionally, c03f6c2 is reported to help #8991 and no longer breaks Patapon. I'm pretty sure it's correct, so I'm reintroducing it here.

-[Unknown]

When trying to convince FFmpeg to read only the header, this was allowed
to get longer.  But we only really need the actual header here, and that
can prevent FFmpeg mis-parsing later packets.
Before, we were only returning an error once, in an effort to log only
once.  This meant sometimes games would not realize they needed to add
packets.

Un-reverted from e866d83.  No longer breaks Patapon with other mpeg fixes.
@daniel229
Copy link
Collaborator

It fixes the video in Danball Senki W.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comic Party Portable hang in first video since v1.2.2-821-geac1848
3 participants