Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
a6c49f18
Commit
a6c49f18
authored
Jul 29, 2011
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aac: Remove some suspicious illegal memcpy()s from LTP.
parent
e11a5fcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
aacdec.c
libavcodec/aacdec.c
+0
-2
No files found.
libavcodec/aacdec.c
View file @
a6c49f18
...
@@ -1789,12 +1789,10 @@ static void windowing_and_mdct_ltp(AACContext *ac, float *out,
...
@@ -1789,12 +1789,10 @@ static void windowing_and_mdct_ltp(AACContext *ac, float *out,
}
else
{
}
else
{
memset
(
in
,
0
,
448
*
sizeof
(
float
));
memset
(
in
,
0
,
448
*
sizeof
(
float
));
ac
->
dsp
.
vector_fmul
(
in
+
448
,
in
+
448
,
swindow_prev
,
128
);
ac
->
dsp
.
vector_fmul
(
in
+
448
,
in
+
448
,
swindow_prev
,
128
);
memcpy
(
in
+
576
,
in
+
576
,
448
*
sizeof
(
float
));
}
}
if
(
ics
->
window_sequence
[
0
]
!=
LONG_START_SEQUENCE
)
{
if
(
ics
->
window_sequence
[
0
]
!=
LONG_START_SEQUENCE
)
{
ac
->
dsp
.
vector_fmul_reverse
(
in
+
1024
,
in
+
1024
,
lwindow
,
1024
);
ac
->
dsp
.
vector_fmul_reverse
(
in
+
1024
,
in
+
1024
,
lwindow
,
1024
);
}
else
{
}
else
{
memcpy
(
in
+
1024
,
in
+
1024
,
448
*
sizeof
(
float
));
ac
->
dsp
.
vector_fmul_reverse
(
in
+
1024
+
448
,
in
+
1024
+
448
,
swindow
,
128
);
ac
->
dsp
.
vector_fmul_reverse
(
in
+
1024
+
448
,
in
+
1024
+
448
,
swindow
,
128
);
memset
(
in
+
1024
+
576
,
0
,
448
*
sizeof
(
float
));
memset
(
in
+
1024
+
576
,
0
,
448
*
sizeof
(
float
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment