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

Michael Niedermayer michaelni
Mon Feb 6 13:45:55 CET 2006


Hi

On Mon, Feb 06, 2006 at 10:33:32AM -0000, Wolfram Gloger wrote:

Hi,

> That's NO candidate for avmalloczstatic. Instead, the codec context must > be freed when no longer used (i.e. before the corresponding AVStream is > freed). 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

[...]

Michael



More information about the ffmpeg-devel mailing list