summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorMoritz Barsnick <[email protected]>2016-10-09 03:49:15 +0200
committerMichael Niedermayer <[email protected]>2016-10-11 03:27:59 +0200
commitefbc37a757d6b41af1a5752ff810db1dcf3fe78c (patch)
tree237ac40db33cf260da63a1b63999c699db52dcb5 /libswscale/swscale.c
parent50eee357eb171e62a87da7a5c95a1c76685df291 (diff)
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 <[email protected]> Reviewed-by: Nicolas George <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libswscale/swscale.c')
0 files changed, 0 insertions, 0 deletions