avfilter/vf_tblend: use av_frame_free for freeing an AVFrame
authorClément Bœsch <u@pkh.me>
Sat, 28 Feb 2015 09:37:36 +0000 (10:37 +0100)
committerClément Bœsch <u@pkh.me>
Mon, 2 Mar 2015 20:27:21 +0000 (21:27 +0100)
libavfilter/vf_blend.c

index a29cabc..d232457 100644 (file)
@@ -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);