Revision 80ba1ddb libavcodec/dcadsp.c

View differences:

libavcodec/dcadsp.c
23 23
#include "dcadsp.h"
24 24

  
25 25
static void dca_lfe_fir_c(float *out, const float *in, const float *coefs,
26
                          int decifactor, float scale, float bias)
26
                          int decifactor, float scale)
27 27
{
28 28
    float *out2 = out + decifactor;
29 29
    const float *cf0 = coefs;
......
39 39
            v0 += s * *cf0++;
40 40
            v1 += s * *--cf1;
41 41
        }
42
        *out++  = (v0 * scale) + bias;
43
        *out2++ = (v1 * scale) + bias;
42
        *out++  = v0 * scale;
43
        *out2++ = v1 * scale;
44 44
    }
45 45
}
46 46

  

Also available in: Unified diff