Revision 1890c2ac libavcodec/wma.c

View differences:

libavcodec/wma.c
302 302
        window = av_malloc(sizeof(float) * n);
303 303
        alpha = M_PI / (2.0 * n);
304 304
        for(j=0;j<n;j++) {
305
            window[n - j - 1] = sin((j + 0.5) * alpha);
305
            window[j] = sin((j + 0.5) * alpha);
306 306
        }
307 307
        s->windows[i] = window;
308 308
    }

Also available in: Unified diff