| Summary: | mp3_mad broken when upsampling needed | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Ozkan Sezer <sezeroz> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
smix-0010.patch
smix-0010a.patch |
||
|
Description
Ozkan Sezer
2017-10-15 21:52:15 UTC
Created attachment 2998 [details]
smix-0010.patch
Here is the fix: dynamically allocate mp3_mad->output_buffer,
so that upsampling doesn't segfault.
Created attachment 2999 [details]
smix-0010a.patch
This version of patch should be cleaner.
Fixed, thanks! https://hg.libsdl.org/SDL_mixer/rev/4fc4dc4c60ad |