aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bintext.h
diff options
context:
space:
mode:
authorMoritz Barsnick <barsnick@gmx.net>2016-10-09 03:49:15 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-10-11 03:27:59 +0200
commitefbc37a757d6b41af1a5752ff810db1dcf3fe78c (patch)
tree237ac40db33cf260da63a1b63999c699db52dcb5 /libavcodec/bintext.h
parent50eee357eb171e62a87da7a5c95a1c76685df291 (diff)
downloadffmpeg-efbc37a757d6b41af1a5752ff810db1dcf3fe78c.tar.gz
lavfi/pan: renormalize negative gain coefficients properly
The parser for the outdef will accept a negative value for the first named channel's gain. As negative values effectively only invert the phase of the signal, and not negate the level, the gains' absolute values must be used to correctly accumulate the levels. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/bintext.h')
0 files changed, 0 insertions, 0 deletions