[FFmpeg-devel] [PATCH] lavfi/scale: remove av_opt_free()

Paul B Mahol onemda at gmail.com
Mon Jul 15 13:00:22 CEST 2013


Generic code calls it already.

Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavfilter/vf_scale.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index b1246fe..056f540 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -147,7 +147,6 @@ static av_cold void uninit(AVFilterContext *ctx)
     sws_freeContext(scale->isws[0]);
     sws_freeContext(scale->isws[1]);
     scale->sws = NULL;
-    av_opt_free(scale);
 }
 
 static int query_formats(AVFilterContext *ctx)
-- 
1.7.11.2



More information about the ffmpeg-devel mailing list