[FFmpeg-devel] [RFC] LOAS (aka LATM) demuxer

Janne Grunau janne-ffmpeg
Thu Aug 5 01:15:04 CEST 2010


On Wed, Aug 04, 2010 at 05:42:34PM +0300, Martin Storsj? wrote:
> On Sun, 1 Aug 2010, Janne Grunau wrote:
> 
> > +                } else {
> > +                    copy_audio_specific_config(stream_cfg, prev_stream_cfg);
> > +                }
> > +
> > +                st->codec->extradata = av_malloc(stream_cfg->extrasize +
> > +                                                 FF_INPUT_BUFFER_PADDING_SIZE);
> 
> You probably want to free the previous extradata here, too, to avoid 
> leaks.

yes, thanks. fixed locally and pushed to
http://git.jannau.net/git/FFmpeg/log/?h=loas_demuxer

Janne



More information about the ffmpeg-devel mailing list