diff options
author | Moritz Barsnick <barsnick@gmx.net> | 2016-10-09 03:49:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-10-11 03:27:59 +0200 |
commit | efbc37a757d6b41af1a5752ff810db1dcf3fe78c (patch) | |
tree | 237ac40db33cf260da63a1b63999c699db52dcb5 /libavcodec/mpeg4videoenc.c | |
parent | 50eee357eb171e62a87da7a5c95a1c76685df291 (diff) | |
download | ffmpeg-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/mpeg4videoenc.c')
0 files changed, 0 insertions, 0 deletions