diff options
-rw-r--r-- | libavfilter/avf_showwaves.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c index 3dd381b9fd..e75ed88729 100644 --- a/libavfilter/avf_showwaves.c +++ b/libavfilter/avf_showwaves.c @@ -600,7 +600,7 @@ static int push_single_pic(AVFilterLink *outlink) switch (showwaves->filter_mode) { case FILTER_AVERAGE: for (ch = 0; ch < nb_channels; ch++) - sum[ch] += abs(p[ch + i*nb_channels]) << 1; + sum[ch] += abs(p[ch + i*nb_channels]); break; case FILTER_PEAK: for (ch = 0; ch < nb_channels; ch++) |