Re: [FFmpeg-devel] [PATCHv2] avfilter/af_pan: reject expressions referencing the same channel multiple times

2018-03-28 Thread Marton Balint
On Sun, 25 Mar 2018, Nicolas George wrote: Marton Balint (2018-03-25): Fixes parsing of expressions like c0=c0+c0 or c0=c0|c0=c1. Previously no error was thrown and for input channels, only the last gain factor was used, for output channels the source channel gains were combined.

[FFmpeg-devel] [PATCHv2] avfilter/af_pan: reject expressions referencing the same channel multiple times

2018-03-25 Thread Marton Balint
Fixes parsing of expressions like c0=c0+c0 or c0=c0|c0=c1. Previously no error was thrown and for input channels, only the last gain factor was used, for output channels the source channel gains were combined. Signed-off-by: Marton Balint --- libavfilter/af_pan.c | 16

Re: [FFmpeg-devel] [PATCHv2] avfilter/af_pan: reject expressions referencing the same channel multiple times

2018-03-25 Thread Nicolas George
Marton Balint (2018-03-25): > Fixes parsing of expressions like c0=c0+c0 or c0=c0|c0=c1. Previously no > error was thrown and for input channels, only the last gain factor was used, > for output channels the source channel gains were combined. > > Signed-off-by: Marton Balint >