[FFmpeg-devel] Longevity Test Report

Baptiste Coudurier baptiste.coudurier
Wed Feb 4 19:47:43 CET 2009

Hi Reimar,

Reimar D?ffinger wrote:
> On Wed, Feb 04, 2009 at 12:00:53PM +0100, Benjamin Larsson wrote:
>> My suggestion to find these kind of problems is to wrap av_malloc in a 
>> macro that expands av_malloc to av_leak_malloc(size,__FILE__,__LINE).
> There are more than enough tools that do that already, only that most
> suck. Please spend your efforts on fixing/improving those general
> solutions instead implementing you own and very limited version.
> Also the issue is not really a leak otherwise valgrind would probably
> work fine (even if a little slow, and not on Windows).

Well the problem is that valgrind is horribly slow. It's perfect to
catch problems early in the process but if your memleak arise like 6000
frames after the start, then you better find another faster way.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list