[FFmpeg-devel] [PATCH] FFmpeg : Replace some av_exit calls in av_transcode with branches to the cleanup code.

Jai Menon jmenon86
Mon Jul 19 08:19:27 CEST 2010


2010/7/19 M?ns Rullg?rd <mans at mansr.com>:
> Reinhard Tartler <siretart at tauware.de> writes:
>
>> On Sun, Jul 18, 2010 at 19:30:51 (CEST), Jai Menon wrote:
>>
>>> This plugs a bunch of memleaks.
>>
>> do you think this is appropriate for 0.6/0.5?
>
> Those are not really leaks as such since it was about to exit anyway.
> These fixes are useful when running under valgrind since it removes
> some noise. ?In normal use there's no difference.

Indeed. This is purely from the perspective of a person using
av_transcode in an external application. Also, the valgrind output is
more compact as you noted.

-- 
Jai Menon



More information about the ffmpeg-devel mailing list