git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7e7d4
)
aacenc: Fix LONG_START windowing.
author
Nathan Caldwell
<saintdev@gmail.com>
Sat, 28 Jan 2012 05:23:41 +0000
(22:23 -0700)
committer
Anton Khirnov
<anton@khirnov.net>
Sat, 28 Jan 2012 21:07:30 +0000
(22:07 +0100)
Forgot to add the equivalent amount to the incoming sample pointer as the output pointer.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/aacenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/aacenc.c
b/libavcodec/aacenc.c
index
765f9a7
..
e610a80
100644
(file)
--- a/
libavcodec/aacenc.c
+++ b/
libavcodec/aacenc.c
@@
-200,8
+200,8
@@
WINDOW_FUNC(long_start)
float *out = sce->ret;
dsp->vector_fmul(out, audio, lwindow, 1024);
- memcpy(out + 1024, audio, sizeof(out[0]) * 448);
- dsp->vector_fmul_reverse(out + 1024 + 448, audio, swindow, 128);
+ memcpy(out + 1024, audio
+ 1024
, sizeof(out[0]) * 448);
+ dsp->vector_fmul_reverse(out + 1024 + 448, audio
+ 1024 + 448
, swindow, 128);
memset(out + 1024 + 576, 0, sizeof(out[0]) * 448);
}