Skip to content

Conversation

@kdkd
Copy link

@kdkd kdkd commented Nov 28, 2025

Commit from kdkd fork 6b02466

MP3Reader: Handle corrupt MP3 files better.

If ID3 parsing fails, or does not contain sample rate data don't divide by zero.

If the MP3 file is completely empty with no frames, also don't divide by zero after counting frames.

If EOF is reached while streaming an MP3 file, don't get stuck in an infinite loop trying to seek past EOF.


If ID3 parsing fails, or does not contain sample rate data don't divide by zero.

If the MP3 file is completely empty with no frames, also don't divide by zero after counting frames.

If EOF is reached while streaming an MP3 file, don't get stuck in an infinite loop trying to seek past EOF.
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.

1 participant