Browse Source

lavfi/af_pan: fix sign handling in channel coefficient parser

When a channel formula ends with a subtraction, the next formula will
otherwise have its first coefficient negated.
tags/n4.0
Michael Roitzsch Nicolas George 8 years ago
parent
commit
4f4e19914d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/af_pan.c

+ 1
- 0
libavfilter/af_pan.c View File

@@ -166,6 +166,7 @@ static av_cold int init(AVFilterContext *ctx)
goto fail;
}
/* gains */
sign = 1;
while (1) {
gain = 1;
if (sscanf(arg, "%lf%n *%n", &gain, &len, &len))


Loading…
Cancel
Save