[FFmpeg-devel] [PATCH] avfilter/af_volume: Don't free options manually

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed May 8 22:28:10 EEST 2024


Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavfilter/af_volume.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c
> index 5a3c9220f4..b3dd57c5e5 100644
> --- a/libavfilter/af_volume.c
> +++ b/libavfilter/af_volume.c
> @@ -127,7 +127,6 @@ static av_cold void uninit(AVFilterContext *ctx)
>  {
>      VolumeContext *vol = ctx->priv;
>      av_expr_free(vol->volume_pexpr);
> -    av_opt_free(vol);
>      av_freep(&vol->fdsp);
>  }
>  

Will apply tomorrow unless there are objections.

- Andreas



More information about the ffmpeg-devel mailing list