From: Zhao Zhili <zhiliz...@tencent.com> --- libavfilter/af_aecho.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_aecho.c b/libavfilter/af_aecho.c index ff316eaa67..4406e0dbb2 100644 --- a/libavfilter/af_aecho.c +++ b/libavfilter/af_aecho.c @@ -164,7 +164,7 @@ static void echo_samples_## name ##p(AudioEchoContext *ctx, \ const double in_gain = ctx->in_gain; \ const int nb_echoes = ctx->nb_echoes; \ const int max_samples = ctx->max_samples; \ - int i, j, chan, av_uninit(index); \ + int i, j, chan, index = 0; \ \ av_assert1(channels > 0); /* would corrupt delay_index */ \ \ -- 2.46.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".