[FFmpeg-devel] [PATCH]Fix memleak if decoder init fails
Carl Eugen Hoyos
cehoyos at ag.or.at
Sun Mar 10 11:22:55 CET 2013
Michael Niedermayer <michaelni <at> gmx.at> writes:
> > > > + ost = output_streams[i];
> > > > + avcodec_close(ost->st->codec);
> > > > + }
> > > > goto dump_format;
> > >
> > > can this affect dump_format ?
> > > that is does it access anything that might be freed here ?
> > Afaict, dump_format currently does neither use
> > output_streams->st nor output_streams->st->codec.
> then the patch should be ok
The patch was merged, two tickets closed.
More information about the ffmpeg-devel