aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_stereotools.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-12-02 12:05:04 +0100
committerPaul B Mahol <onemda@gmail.com>2015-12-02 12:09:06 +0100
commit6670527d33bb6b76f779440222b2ac6459fa466f (patch)
treea7bd152490cff4f60d900cd83a6219f937253931 /libavfilter/af_stereotools.c
parentc4f7b8f0db6e867f41f9c7a0e2d53301022a2aa4 (diff)
downloadffmpeg-6670527d33bb6b76f779440222b2ac6459fa466f.tar.gz
avfilter/af_stereotools: remove floor usage
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_stereotools.c')
-rw-r--r--libavfilter/af_stereotools.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/af_stereotools.c b/libavfilter/af_stereotools.c
index a22efb02ea..3c796f5b15 100644
--- a/libavfilter/af_stereotools.c
+++ b/libavfilter/af_stereotools.c
@@ -139,10 +139,10 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
const double sc_level = s->sc_level;
const double delay = s->delay;
const int length = s->length;
- const int mute_l = floor(s->mute_l + 0.5);
- const int mute_r = floor(s->mute_r + 0.5);
- const int phase_l = floor(s->phase_l + 0.5);
- const int phase_r = floor(s->phase_r + 0.5);
+ const int mute_l = s->mute_l;
+ const int mute_r = s->mute_r;
+ const int phase_l = s->phase_l;
+ const int phase_r = s->phase_r;
double *buffer = s->buffer;
AVFrame *out;
double *dst;