| Summary: | [PATCH] music_mad.c must handle and skip tags | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Ozkan Sezer <sezeroz> |
| Component: | misc | Assignee: | Ozkan Sezer <sezeroz> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
patch to make libmad skip tags
updated patch for SDL-1.2 updated patch for SDL-2.0 patch for SDL_mixer-2.0 patch for SDL_mixer-1.2 |
||
|
Description
Ozkan Sezer
2018-10-05 16:20:29 UTC
The SDL-1.2 branch is worse that it certainly crashes: valgrind reports several invalid reads and invalid writes. The patch fixes the issue there too. Created attachment 3343 [details]
updated patch for SDL-1.2
Created attachment 3344 [details]
updated patch for SDL-2.0
We can't include GPL code unless MUSIC_MP3_MAD_GPL_DITHERING is defined, as package releases do not enable GPL code by default. Do you want to do a clean implementation under the Zlib license, or add alternative code paths for non-GPL code? Created attachment 3349 [details]
patch for SDL_mixer-2.0
The code was already half-way rephrased, but went back again, further
used id3.org docs and made the attached version. I don't think it can
be made more from scratch than this. OK to apply?
Created attachment 3350 [details]
patch for SDL_mixer-1.2
Yep, looks good, thanks! SDL-1.2 branch: https://hg.libsdl.org/SDL_mixer/rev/ae9b46ccd5ab default branch: https://hg.libsdl.org/SDL_mixer/rev/c39a11fa853e Closing as fixed. |