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 infinite loop when there's a partial frame at the end of the file. #9653

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

eric321
Copy link

@eric321 eric321 commented Sep 23, 2024

Fixes: #9652

Copy link
Member

@jepler jepler left a comment

Choose a reason for hiding this comment

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

This makes sense, thanks.

at EOF, there's data underflow that does need to be treated as a true failure rather than something that might be recoverable. These recoverable underflow cases were added to improve streaming recovery when the network didn't deliver data in time.

@jepler jepler merged commit 726639b into adafruit:main Sep 24, 2024
445 checks passed
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.

audiomp3.MP3Decoder hangs when file ends with partial frame
2 participants