You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +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_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;
|
||||||
|
Reference in New Issue
Block a user