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

Cannot decode very short mp3 file #258

Open
eagle-dai opened this issue Sep 18, 2023 · 2 comments
Open

Cannot decode very short mp3 file #258

eagle-dai opened this issue Sep 18, 2023 · 2 comments

Comments

@eagle-dai
Copy link

small.zip

For the attached mp3 file in the zip, drmp3_open_file_and_read_pcm_frames_f32() always returns null. It can be played well by all the other players.

@eagle-dai eagle-dai changed the title Cannot play very short mp3 file Cannot decode very short mp3 file Sep 18, 2023
@mackron
Copy link
Owner

mackron commented Sep 20, 2023

Thanks for the report and test case. dr_mp3 is a wrapper around minimp3 so this might be something related to that, but I will take a look at this as soon as I get a chance regardless.

@eagle-dai
Copy link
Author

Thanks for the report and test case. dr_mp3 is a wrapper around minimp3 so this might be something related to that, but I will take a look at this as soon as I get a chance regardless.

Thanks! I also tried the same mp3 with the latest minimp3 and it works fine.

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

No branches or pull requests

2 participants