Browse Source

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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.4
Paul B Mahol 8 years ago
parent
commit
a17fcd8e04
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavfilter/af_astats.c

+ 0
- 2
libavfilter/af_astats.c View File

@@ -115,8 +115,6 @@ static void reset_stats(AudioStatsContext *s)
p->sigma_x = 0; p->sigma_x = 0;
p->sigma_x2 = 0; p->sigma_x2 = 0;
p->avg_sigma_x2 = 0; p->avg_sigma_x2 = 0;
p->min_sigma_x2 = 0;
p->max_sigma_x2 = 0;
p->min_run = 0; p->min_run = 0;
p->max_run = 0; p->max_run = 0;
p->min_runs = 0; p->min_runs = 0;


Loading…
Cancel
Save