Improves the audio corruption regression caused by 6ba0aa1770ba29eb4126c6a706f6b0cd3809648f reported in ticket #10029. There is still however a noticable audio glitch, so the FFT conversion to AVTX probably also needs some modifications.
Unified · Split
| @@ -700,7 +700,7 @@ static int on2avc_reconstruct_channel_ext(On2AVCContext *c, AVFrame *dst, int of · 699 unmodified lines | ||
| 700 | 700 | break; |
| 701 | 701 | case WINDOW_TYPE_EXT5: |
| 702 | 702 | c->wtf(c, buf, in, 512); |
| 703 | − c->mdct_half_fn(c->mdct, buf + 512, in + 512, sizeof(float)); | |
| 703 | + c->mdct_half_fn(c->mdct_half, buf + 512, in + 512, sizeof(float)); | |
| 704 | 704 | for (i = 0; i < 256; i++) { |
| 705 | 705 | FFSWAP(float, buf[i + 512], buf[1023 - i]); |
| 706 | 706 | } |