On Thu, Apr 02, 2015 at 02:10:05PM +0200, Vittorio Giovara wrote:
> On Tue, Mar 31, 2015 at 4:31 PM, Diego Biurrun <[email protected]> wrote:
> > --- a/libavcodec/g2meet.c
> > +++ b/libavcodec/g2meet.c
> > @@ -895,6 +1603,7 @@ static av_cold int g2m_decode_end(AVCodecContext 
> > *avctx)
> >
> >      jpg_free_context(&c->jc);
> >
> > +    av_freep(&c->epic_buf_base);
> >      av_freep(&c->kempf_buf);
> >      av_freep(&c->kempf_flags);
> >      av_freep(&c->synth_tile);
> 
> and if you remove "jpg_free_context(&c->jc);" you may mark this
> decoder as FF_CODEC_CAP_INIT_CLEANUP too.

The call to jpg_free_context() is not added by this patch, so let's
leave that aside for now.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to