mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
avfilter/af_astats: do not overwrite already set values when doing reset
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user