Browse Source

af_volume: exp10() is a GNU extension.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
c28ea94cd7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/af_volume.c

+ 1
- 1
libavfilter/af_volume.c View File

@@ -49,7 +49,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
if (!strcmp(tail, "dB")) {
/* consider the argument an adjustement in decibels */
if (!strcmp(tail, "dB")) {
d = exp10(d/20);
d = pow(10,d/20);
}
} else {
/* parse the argument as an expression */


Loading…
Cancel
Save