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
f264d336
Commit
f264d336
authored
Dec 21, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
truespeech: fix invalid reads in truespeech_apply_twopoint_filter()
fixes Bug 171
parent
e9dc9201
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
truespeech.c
libavcodec/truespeech.c
+1
-0
No files found.
libavcodec/truespeech.c
View file @
f264d336
...
...
@@ -179,6 +179,7 @@ static void truespeech_apply_twopoint_filter(TSContext *dec, int quart)
for
(
i
=
0
;
i
<
146
;
i
++
)
tmp
[
i
]
=
dec
->
filtbuf
[
i
];
off
=
(
t
/
25
)
+
dec
->
offset1
[
quart
>>
1
]
+
18
;
off
=
av_clip
(
off
,
0
,
145
);
ptr0
=
tmp
+
145
-
off
;
ptr1
=
tmp
+
146
;
filter
=
(
const
int16_t
*
)
ts_order2_coeffs
+
(
t
%
25
)
*
2
;
...
...
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