Revision 015f9f1a libavcodec/nellymoserenc.c

View differences:

libavcodec/nellymoserenc.c
113 113

  
114 114
static void apply_mdct(NellyMoserEncodeContext *s)
115 115
{
116
    memcpy(s->in_buff, s->buf[s->bufsel], NELLY_BUF_LEN * sizeof(float));
117
    s->dsp.vector_fmul(s->in_buff, ff_sine_128, NELLY_BUF_LEN);
116
    s->dsp.vector_fmul(s->in_buff, s->buf[s->bufsel], ff_sine_128, NELLY_BUF_LEN);
118 117
    s->dsp.vector_fmul_reverse(s->in_buff + NELLY_BUF_LEN, s->buf[s->bufsel] + NELLY_BUF_LEN, ff_sine_128,
119 118
                               NELLY_BUF_LEN);
120 119
    ff_mdct_calc(&s->mdct_ctx, s->mdct_out, s->in_buff);
121 120

  
122
    s->dsp.vector_fmul(s->buf[s->bufsel] + NELLY_BUF_LEN, ff_sine_128, NELLY_BUF_LEN);
121
    s->dsp.vector_fmul(s->buf[s->bufsel] + NELLY_BUF_LEN, s->buf[s->bufsel] + NELLY_BUF_LEN,
122
                       ff_sine_128, NELLY_BUF_LEN);
123 123
    s->dsp.vector_fmul_reverse(s->buf[s->bufsel] + 2 * NELLY_BUF_LEN, s->buf[1 - s->bufsel], ff_sine_128,
124 124
                               NELLY_BUF_LEN);
125 125
    ff_mdct_calc(&s->mdct_ctx, s->mdct_out + NELLY_BUF_LEN, s->buf[s->bufsel] + NELLY_BUF_LEN);

Also available in: Unified diff