[Ffmpeg-devel] [PATCH] Always link the faacDecClose() function - solves memory leak

Baptiste Coudurier baptiste.coudurier
Sat Mar 17 16:57:46 CET 2007


Diego 'Flameeyes' Petten? wrote:
> The attached patch moves the load of Close() function from faacDecClose() 
> (both with libfaad linked in, and with libfaad dlopened) from inside the 
> #ifndef FAAD2_VERSION to the common case.
> 
> The Close function is already declared outside the #ifndef clause, and it is 
> for sure present on FAAD 2.0, where FAAD2_VERSION is defined.
> 
> Without this patch, valgrind shown a memory leak of about 60KB when playing 
> the start of an mp4 H264+aac file with ffplay (plus a series of 4KB less 
> certain leaks that also disappear with this patch).
> 
> HTH,
> 

ping, Diego/Mans about dynamic loading ? Ok to apply ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list