[FFmpeg-devel] [PATCH 02/22] avfilter/af_compand: Remove use of av_uninit
Zhao Zhili
quinkblack at foxmail.com
Fri Apr 11 10:57:44 EEST 2025
From: Zhao Zhili <zhilizhao at tencent.com>
---
libavfilter/af_compand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_compand.c b/libavfilter/af_compand.c
index 69de1360f1..3b6a83c056 100644
--- a/libavfilter/af_compand.c
+++ b/libavfilter/af_compand.c
@@ -195,7 +195,7 @@ static int compand_delay(AVFilterContext *ctx, AVFrame *frame)
AVFilterLink *inlink = ctx->inputs[0];
const int channels = inlink->ch_layout.nb_channels;
const int nb_samples = frame->nb_samples;
- int chan, i, av_uninit(dindex), oindex, av_uninit(count);
+ int chan, i, dindex = 0, oindex, count = 0;
AVFrame *out_frame = NULL;
int err;
--
2.46.0
More information about the ffmpeg-devel
mailing list