-
Notifications
You must be signed in to change notification settings - Fork 244
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
LAME header not parsed correctly for LAME version 3.100 #207
Comments
Fixed in eafd655 |
hello, |
Can you provide a sample file that shows this problem? |
Do you know which exact version of LAME was used to write this file? It seems to be storing an invalid LAME version string I have modified the code 6dcbca8 to do more checking that the version string is in the expected format, the errors should be gone now. |
Unfortunately no. This is a very very old file. |
The LAME header for mp3 encoded with version 3.100 is not parsed correctly.
Looking at the code, this seems to be the caused by the check whether the LAME version string is greater or equal to "LAME3.90". Since "LAME3.100" < "LAME3.90", the headers for 3.100 are treated like pre 3.90-headers.
One side effect is that the long_version string contains 11 extra bytes of undefined data. This is causing problems in at least one project (OMPD) which is using getID3 and is storing the data in a database. Because of the undefined extra characters, this is making SQL queries fail.
See ArturSierzant/OMPD#98 .
The text was updated successfully, but these errors were encountered: