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
37ddd383
Commit
37ddd383
authored
May 04, 2012
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
celp filters: Do not read earlier than the start of the 'out' vector.
CC: libav-stable@libav.org
parent
313f9fbf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
celp_filters.c
libavcodec/celp_filters.c
+1
-3
No files found.
libavcodec/celp_filters.c
View file @
37ddd383
...
...
@@ -133,9 +133,8 @@ void ff_celp_lp_synthesis_filterf(float *out, const float *filter_coeffs,
out2
-=
val
*
old_out2
;
out3
-=
val
*
old_out3
;
old_out3
=
out
[
-
5
];
for
(
i
=
5
;
i
<=
filter_length
;
i
+=
2
)
{
old_out3
=
out
[
-
i
];
val
=
filter_coeffs
[
i
-
1
];
out0
-=
val
*
old_out3
;
...
...
@@ -154,7 +153,6 @@ void ff_celp_lp_synthesis_filterf(float *out, const float *filter_coeffs,
FFSWAP
(
float
,
old_out0
,
old_out2
);
old_out1
=
old_out3
;
old_out3
=
out
[
-
i
-
2
];
}
tmp0
=
out0
;
...
...
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