History

aacenc: Fix LONG_START windowing.

Forgot to add the equivalent amount to the incoming sample pointer as the output pointer.

Nathan Caldwell committed 14 years ago

Commit 2e626dd1 parent dc7e7d41 file · +2 −2Browse files

Unified · Split

libavcodec/aacenc.c+2−2
@@ -200,8 +200,8 @@ WINDOW_FUNC(long_start) · 199 unmodified lines
200200 float *out = sce->ret;
201201
202202 dsp->vector_fmul(out, audio, lwindow, 1024);
203− memcpy(out + 1024, audio, sizeof(out[0]) * 448);
204− dsp->vector_fmul_reverse(out + 1024 + 448, audio, swindow, 128);
203+ memcpy(out + 1024, audio + 1024, sizeof(out[0]) * 448);
204+ dsp->vector_fmul_reverse(out + 1024 + 448, audio + 1024 + 448, swindow, 128);
205205 memset(out + 1024 + 576, 0, sizeof(out[0]) * 448);
206206 }
207207

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