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

added proper slice guarding #26

Closed
wants to merge 1 commit into from

Conversation

jrdennisoss
Copy link
Contributor

What is happening is that sometimes a slice boundary is blown through because the ISO spec allows for a bit of extra '0' padding at the end, but the current version of PL_MPEG is not quite handling this right. I made a patch which guards the slice boundary based on the known last macroblock address for that specific slice. Tested with several DOSBox ReelMagic MPEG assets and the MPG file posted in this ticket: #24

@jrdennisoss jrdennisoss mentioned this pull request Mar 6, 2022
@jrdennisoss
Copy link
Contributor Author

Does not properly handle streams where a slice does not perfectly line up 1:1 with a macroblock row. Closing this PR until a better solution is found.

@jrdennisoss jrdennisoss deleted the sliceguard branch April 7, 2022 21:09
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.

None yet

1 participant