[FFmpeg-devel] [PATCH]Fix memleak if decoder init fails
Paul B Mahol
onemda at gmail.com
Tue Mar 5 20:56:50 CET 2013
On 3/5/13, Reimar Doeffinger <Reimar.Doeffinger at gmx.de> wrote:
> 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?
Dunno, but if init fails why would you need to call uninit on your own?
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel