From a17fcd8e04733cb3f2d9785e54337960e06b41c8 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 19 Jul 2017 20:11:43 +0200 Subject: [PATCH] avfilter/af_astats: do not overwrite already set values when doing reset Signed-off-by: Paul B Mahol --- libavfilter/af_astats.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/af_astats.c b/libavfilter/af_astats.c index 182532f21b..41fec156a3 100644 --- a/libavfilter/af_astats.c +++ b/libavfilter/af_astats.c @@ -115,8 +115,6 @@ static void reset_stats(AudioStatsContext *s) p->sigma_x = 0; p->sigma_x2 = 0; p->avg_sigma_x2 = 0; - p->min_sigma_x2 = 0; - p->max_sigma_x2 = 0; p->min_run = 0; p->max_run = 0; p->min_runs = 0;