[FFmpeg-devel] [PATCH] avfilter/af_tremolo: clean up extra newlines
Kyle Swanson
k at ylo.ph
Wed Oct 14 16:56:48 CEST 2015
Signed-off-by: Kyle Swanson <k at ylo.ph>
---
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;
}
--
1.8.4
More information about the ffmpeg-devel
mailing list