Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/af_tremolo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/af_tremolo.c b/libavfilter/af_tremolo.c
index 0ae7a7caa3..50df2e4cc0 100644
--- a/libavfilter/af_tremolo.c
+++ b/libavfilter/af_tremolo.c
@@ -131,9 +131,7 @@ static int config_input(AVFilterLink *inlink)
for (i = 0; i < inlink->sample_rate; i++) {
double env = s->freq * i / inlink->sample_rate;
-
env = sin(2 * M_PI * fmod(env + 0.25, 1.0));
-
s->table[i] = env * (1 - fabs(offset)) + offset;
}