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

Stefano Sabatini stefasab at gmail.com
Mon Jul 15 13:04:05 CEST 2013


On date Monday 2013-07-15 11:00:22 +0000, Paul B Mahol encoded:
> 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);
>  }

LGTM.
-- 
FFmpeg = Foolish and Fostering Majestic Perennial Explosive Governor


More information about the ffmpeg-devel mailing list