[FFmpeg-devel] [PATCH] swr/resample: free existing ResampleContext on reinit

James Almer jamrial at gmail.com
Tue Mar 21 17:07:35 EET 2017


On 3/21/2017 11:39 AM, Michael Niedermayer wrote:
> On Mon, Mar 20, 2017 at 10:33:53PM -0300, James Almer wrote:
>> Fixes memleak (See opus-testvector12 fate test).
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>  libswresample/resample.c | 15 ++++++++-------
>>  1 file changed, 8 insertions(+), 7 deletions(-)
> 
> the move could be in a separete commit, if you want to split it
> 
> LGTM
> 
> thx

Split and pushed. Thanks.



More information about the ffmpeg-devel mailing list