Skip to content

Fix panic when decoding frame with zero width#185

Open
tristanphease wants to merge 1 commit into
image-rs:mainfrom
tristanphease:zero-width-issue
Open

Fix panic when decoding frame with zero width#185
tristanphease wants to merge 1 commit into
image-rs:mainfrom
tristanphease:zero-width-issue

Conversation

@tristanphease

Copy link
Copy Markdown
Contributor

Fixes #182 by adding extra checks to avoid panics and return errors for when the frame size doesn't match.
The check for frame sizes in the decoder for the ALPH frame decode makes it match the decoding for the VP8 frame.

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.

Panic with zero sized vp8 data inside ANMF following ALPH

1 participant