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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun May 5 17:26:16 EEST 2024


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



More information about the ffmpeg-devel mailing list