Revision 26f548bb libavcodec/nellymoserenc.c

View differences:

libavcodec/nellymoserenc.c
116 116
    s->dsp.vector_fmul(s->in_buff, s->buf[s->bufsel], ff_sine_128, NELLY_BUF_LEN);
117 117
    s->dsp.vector_fmul_reverse(s->in_buff + NELLY_BUF_LEN, s->buf[s->bufsel] + NELLY_BUF_LEN, ff_sine_128,
118 118
                               NELLY_BUF_LEN);
119
    ff_mdct_calc(&s->mdct_ctx, s->mdct_out, s->in_buff);
119
    s->mdct_ctx.mdct_calc(&s->mdct_ctx, s->mdct_out, s->in_buff);
120 120

  
121 121
    s->dsp.vector_fmul(s->buf[s->bufsel] + NELLY_BUF_LEN, s->buf[s->bufsel] + NELLY_BUF_LEN,
122 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
    ff_mdct_calc(&s->mdct_ctx, s->mdct_out + NELLY_BUF_LEN, s->buf[s->bufsel] + NELLY_BUF_LEN);
125
    s->mdct_ctx.mdct_calc(&s->mdct_ctx, s->mdct_out + NELLY_BUF_LEN, s->buf[s->bufsel] + NELLY_BUF_LEN);
126 126
}
127 127

  
128 128
static av_cold int encode_init(AVCodecContext *avctx)

Also available in: Unified diff