avfilter/avf_showspectrum: properly calculate w factor
authorPaul B Mahol <onemda@gmail.com>
Mon, 28 Dec 2015 22:45:34 +0000 (23:45 +0100)
committerPaul B Mahol <onemda@gmail.com>
Tue, 29 Dec 2015 11:11:33 +0000 (12:11 +0100)
commitefa666e0da5e5fd2ded2e7dce4191bf04ac35952
tree85bbdcdbdcd1a0798481166113867a9ddc6684a1
parente30e5c83aed79f1ecde064c36b952aee4fc7827b
avfilter/avf_showspectrum: properly calculate w factor

It is used in calculating loudness of each frequency bin.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/avf_showspectrum.c