[FFmpeg-cvslog] avfilter/vf_tblend: use av_frame_free for freeing an AVFrame

Clément Bœsch git at videolan.org
Mon Mar 2 21:27:26 CET 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sat Feb 28 10:37:36 2015 +0100| [f5cbb2c55e19340ba5257a9c7d33d3d4d2880263] | committer: Clément Bœsch

avfilter/vf_tblend: use av_frame_free for freeing an AVFrame

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f5cbb2c55e19340ba5257a9c7d33d3d4d2880263
---

 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);



More information about the ffmpeg-cvslog mailing list