[FFmpeg-devel] [PATCH] lavfi/pan: renormalize negative gain coefficients properly

Nicolas George george at nsup.org
Mon Oct 10 20:07:34 EEST 2016

L'octidi 18 vendémiaire, an CCXXV, Moritz Barsnick a écrit :
> 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 at gmx.net>
> ---
>  libavfilter/af_pan.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

LGTM, thanks.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161010/150047c3/attachment.sig>

More information about the ffmpeg-devel mailing list