Browse Source

avfilter/af_stereotools: remove floor usage

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.0
Paul B Mahol 9 years ago
parent
commit
6670527d33
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libavfilter/af_stereotools.c

+ 4
- 4
libavfilter/af_stereotools.c View File

@@ -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;


Loading…
Cancel
Save