projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e15607
)
avfilter/af_astats: do not overwrite already set values when doing reset
author
Paul B Mahol
<onemda@gmail.com>
Wed, 19 Jul 2017 18:11:43 +0000
(20:11 +0200)
committer
Paul B Mahol
<onemda@gmail.com>
Wed, 19 Jul 2017 18:11:43 +0000
(20:11 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/af_astats.c
patch
|
blob
|
history
diff --git
a/libavfilter/af_astats.c
b/libavfilter/af_astats.c
index
182532f
..
41fec15
100644
(file)
--- 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;