Signed-off-by: Kyle Swanson <k...@ylo.ph>
---
 libavfilter/af_tremolo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_tremolo.c b/libavfilter/af_tremolo.c
index 6335401..69eaa34 100644
--- a/libavfilter/af_tremolo.c
+++ b/libavfilter/af_tremolo.c
@@ -138,7 +138,7 @@ static int config_input(AVFilterLink *inlink)
     if (!s->wave_table)
         return AVERROR(ENOMEM);
 
-    ff_generate_wave_table(WAVE_SIN, AV_SAMPLE_FMT_DBL, s->wave_table, 
s->sample_rate / s->freq, 0.0, 1.0, 0.0);
+    ff_generate_wave_table(WAVE_SIN, AV_SAMPLE_FMT_DBL, s->wave_table, 
s->sample_rate / s->freq, 0.0, 1.0, 3.0 * M_PI / 2.0);
     s->wave_table_index = 0;
     return 0;
 }
-- 
1.8.4

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to