[Ffmpeg-devel] possible memory leak?

Mat heavensdoor78
Mon Jan 23 09:46:26 CET 2006

Zoltan NAGY wrote:
> ==11283== LEAK SUMMARY:
> ==11283==    definitely lost: 129,950 bytes in 211 blocks.
> ==11283==      possibly lost: 0 bytes in 0 blocks.
> ==11283==    still reachable: 18 bytes in 1 blocks.
> ==11283==         suppressed: 0 bytes in 0 blocks.
> ...
> I do not understand how could possibly there be a memleak,
> it feels like I didnt free something up..
Some months ago I posted a similar message with the outputs of valgrind 
on output_example (to produce an Mpeg4 Mov) and I found some memory leaks.
I posted a little patch ( for h263.c, mpeg12.c, mpegvideo.c, BTW I saw 
the problem seems to be in other codecs too ).
The leaks I found solved if I replaced the  av_mallocz  call  with  

If you are interested the message was:

Date: Wed Sep 21 16:38:01 2005
Subject: [Ffmpeg-devel] Memory leak in output_example ... ?

More information about the ffmpeg-devel mailing list