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

Clément Bœsch u at pkh.me
Sat Feb 28 10:38:34 CET 2015


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



More information about the ffmpeg-devel mailing list