[FFmpeg-devel] [PATCH]Fix memleak if decoder init fails

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Mar 5 20:17:46 CET 2013


On Tue, Mar 05, 2013 at 02:00:59PM +0000, Paul B Mahol wrote:
> On 3/5/13, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> > Paul B Mahol <onemda <at> gmail.com> writes:
> >
> >> >> Both are just wrong, as they fix leak for ffmpeg only.
> >> >
> >> > I wonder if that is correct, could you elaborate how
> >> > this specific leak can be reproduced without ffmpeg?
> >>
> >> any program that use lavc,
> >
> >> even ffplay.
> >
> > This seems extremely unlikely given that the leak is
> > in the encoding codec and afair, ffplay cannot encode.
> > Or do I miss something?
> 
> any program that use lavc to encode

Huh? For encode it would be that program that opened the
codecs, so it should also be closing it.
Why would this be anything other than a bug in the ffmpeg
program itself?


More information about the ffmpeg-devel mailing list