[FFmpeg-devel] [PATCH 3/3] avfilter/vf_tblend: use av_frame_free for freeing an AVFrame

Clément Bœsch u at pkh.me
Mon Mar 2 21:28:46 CET 2015


On Sat, Feb 28, 2015 at 11:06:12AM +0000, Paul B Mahol wrote:
> On 2/28/15, Clement Boesch <u at pkh.me> wrote:
> > ---
> >  libavfilter/vf_blend.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c
> > index a29cabc..d232457 100644
> > --- a/libavfilter/vf_blend.c
> > +++ b/libavfilter/vf_blend.c
> > @@ -379,7 +379,7 @@ static av_cold void uninit(AVFilterContext *ctx)
> >      int i;
> >
> >      ff_dualinput_uninit(&b->dinput);
> > -    av_freep(&b->prev_frame);
> > +    av_frame_free(&b->prev_frame);
> >
> >      for (i = 0; i < FF_ARRAY_ELEMS(b->params); i++)
> >          av_expr_free(b->params[i].e);
> > --
> > 2.3.1
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> 
> ok

Applied, thanks

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150302/a062d3cb/attachment.asc>


More information about the ffmpeg-devel mailing list