Revision 80ba1ddb libavcodec/vorbis_dec.c

View differences:

libavcodec/vorbis_dec.c
1575 1575
        const float *win  = vc->win[blockflag & previous_window];
1576 1576

  
1577 1577
        if (blockflag == previous_window) {
1578
            vc->dsp.vector_fmul_window(ret, saved, buf, win, 0, blocksize / 4);
1578
            vc->dsp.vector_fmul_window(ret, saved, buf, win, blocksize / 4);
1579 1579
        } else if (blockflag > previous_window) {
1580
            vc->dsp.vector_fmul_window(ret, saved, buf, win, 0, bs0 / 4);
1580
            vc->dsp.vector_fmul_window(ret, saved, buf, win, bs0 / 4);
1581 1581
            memcpy(ret+bs0/2, buf+bs0/4, ((bs1-bs0)/4) * sizeof(float));
1582 1582
        } else {
1583 1583
            memcpy(ret, saved, ((bs1 - bs0) / 4) * sizeof(float));
1584
            vc->dsp.vector_fmul_window(ret + (bs1 - bs0) / 4, saved + (bs1 - bs0) / 4, buf, win, 0, bs0 / 4);
1584
            vc->dsp.vector_fmul_window(ret + (bs1 - bs0) / 4, saved + (bs1 - bs0) / 4, buf, win, bs0 / 4);
1585 1585
        }
1586 1586
        memcpy(saved, buf + blocksize / 4, blocksize / 4 * sizeof(float));
1587 1587
    }

Also available in: Unified diff