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

Paul B Mahol git at videolan.org
Mon Jul 15 17:27:47 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Jul 15 10:57:55 2013 +0000| [5999db97cf2607a1985ff6fd704d270291b31126] | committer: Paul B Mahol

lavfi/scale: remove av_opt_free()

Generic code calls it already.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 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)



More information about the ffmpeg-cvslog mailing list