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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/265/head
Paul B Mahol 8 years ago
parent 6e156075b0
commit a17fcd8e04
  1. 2
      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;

Loading…
Cancel
Save