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

Michael Niedermayer michael at niedermayer.cc
Tue Mar 21 16:39:04 EET 2017


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170321/69f2dd6a/attachment.sig>


More information about the ffmpeg-devel mailing list