Commit a17fcd8e authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_astats: do not overwrite already set values when doing reset

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 6e156075
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment