lavfi/scale: remove av_opt_free()
authorPaul B Mahol <onemda@gmail.com>
Mon, 15 Jul 2013 10:57:55 +0000 (10:57 +0000)
committerPaul B Mahol <onemda@gmail.com>
Mon, 15 Jul 2013 15:27:19 +0000 (15:27 +0000)
Generic code calls it already.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_scale.c

index b1246fe..056f540 100644 (file)
@@ -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)