[FFmpeg-cvslog] avfilter/af_astats: do not overwrite already set values when doing reset
Paul B Mahol
git at videolan.org
Wed Jul 19 21:13:53 EEST 2017
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Jul 19 20:11:43 2017 +0200| [a17fcd8e04733cb3f2d9785e54337960e06b41c8] | committer: Paul B Mahol
avfilter/af_astats: do not overwrite already set values when doing reset
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a17fcd8e04733cb3f2d9785e54337960e06b41c8
---
libavfilter/af_astats.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavfilter/af_astats.c b/libavfilter/af_astats.c
index 182532f21b..41fec156a3 100644
--- a/libavfilter/af_astats.c
+++ b/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;
More information about the ffmpeg-cvslog
mailing list