summaryrefslogtreecommitdiff
path: root/libavfilter/af_tremolo.c
diff options
context:
space:
mode:
authorKyle Swanson <k@ylo.ph>2015-10-14 09:56:48 -0500
committerMichael Niedermayer <michael@niedermayer.cc>2015-10-15 03:14:47 +0200
commit0131636f22b49d1aa67b76d7f1acad6e57eda577 (patch)
tree6d9d362846a3c19d58a0fcab9e6319866d106f72 /libavfilter/af_tremolo.c
parent96b165fae24b84a703728a8d34ef1ecb944471ab (diff)
avfilter/af_tremolo: clean up extra newlines
Signed-off-by: Kyle Swanson <k@ylo.ph> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/af_tremolo.c')
-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;
}