History

avcodec/on2avc: use the matching AVTX context for the 512 sized iMDCT

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.

Marton Balint committed 3 years ago

Commit f296c761 parent c7bfc821 file · +1 −1Browse files

Unified · Split

libavcodec/on2avc.c+1−1
@@ -700,7 +700,7 @@ static int on2avc_reconstruct_channel_ext(On2AVCContext *c, AVFrame *dst, int of · 699 unmodified lines
700700 break;
701701 case WINDOW_TYPE_EXT5:
702702 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));
704704 for (i = 0; i < 256; i++) {
705705 FFSWAP(float, buf[i + 512], buf[1023 - i]);
706706 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t