diff mbox series

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

Message ID AS8P250MB074437D8E3572C1FEB66E9738F1D2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit ebe78e3ef0b07dbefe90c8709aef9611183c08ed
Headers show
Series [FFmpeg-devel] avfilter/af_volume: Don't free options manually | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt May 5, 2024, 2:26 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavfilter/af_volume.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andreas Rheinhardt May 8, 2024, 7:28 p.m. UTC | #1
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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
diff mbox series

Patch

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);
 }