[Ffmpeg-devel] Re: Memory leaks with some codecs... (again) (original) (raw)

Mat heavensdoor78
Wed Feb 8 10:41:19 CET 2006


Michael Niedermayer wrote:

Here's a patch. It might be better to have an avfreeformatcontext() which does the same as the last few lines in outputexample.c..

fixed Thank you for the help. I tested again output_example with VG. The first leak is gone. The second one goes away if I use av_mallocz_static in mpegvideo.c and h263.c (2 global vars) If I remeber correctly the same situation appears with other codecs...



More information about the ffmpeg-devel mailing list