Skip to content

Fix a few MP4 decoding/probing bugs#192

Merged
devoxin merged 2 commits into
mainfrom
fix/mp4-decoding
Jul 2, 2026
Merged

Fix a few MP4 decoding/probing bugs#192
devoxin merged 2 commits into
mainfrom
fix/mp4-decoding

Conversation

@devoxin

@devoxin devoxin commented Jul 2, 2026

Copy link
Copy Markdown
Member
  • Treats per-frame decode errors (in range 0x4000-0x4FFF) as skippable (corrupt frame) and reinitialises the decoder with a fresh state to continue decoding from the next frame onwards.

  • Fix an issue where the MP4 reader could get stuck when length was 0, causing a seek of offset + length to go back to the beginning of the mdat box, which would never resolve, thus causing resource starvation.

@topi314 topi314 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am clueless

@devoxin
devoxin merged commit 0c04302 into main Jul 2, 2026
1 check passed
@devoxin
devoxin deleted the fix/mp4-decoding branch July 2, 2026 16:40
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.

2 participants