[FFmpeg-cvslog] avfilter/af_tremolo: clean up extra newlines
Kyle Swanson
git at videolan.org
Thu Oct 15 03:25:24 CEST 2015
ffmpeg | branch: master | Kyle Swanson <k at ylo.ph> | Wed Oct 14 09:56:48 2015 -0500| [0131636f22b49d1aa67b76d7f1acad6e57eda577] | committer: Michael Niedermayer
avfilter/af_tremolo: clean up extra newlines
Signed-off-by: Kyle Swanson <k at ylo.ph>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0131636f22b49d1aa67b76d7f1acad6e57eda577
---
libavfilter/af_tremolo.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavfilter/af_tremolo.c b/libavfilter/af_tremolo.c
index 0ae7a7c..50df2e4 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;
}
More information about the ffmpeg-cvslog
mailing list