Ticket #942 (closed defect: invalid)
swresample leaks memory when sampling up
|Reported by:||beafdefx||Owned by:||michael|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Cross compiling for Android/ARM with C++, if that matters.
Decoding and resampling are great for me until I have swresample resample upward in bitrate. The memory usage is very obviously headed upward with no ceiling as I feed it data to resample. Everything goes back to normal when I free the resample context.
The leaking is very obvious when going from 44100 to 48000. It's still present when going from 44100 to 44200, but much slower. No problems downsampling.
Perhaps there could also be a problem if resampling to a larger greater channel config or sample format. Haven't tested that myself.
- Status changed from new to closed
- Resolution set to invalid