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
be51e589
Commit
be51e589
authored
Jul 28, 2012
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
af_asyncts: avoid overflow in out_size with large delta values
parent
70d71b58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
af_asyncts.c
libavfilter/af_asyncts.c
+1
-1
No files found.
libavfilter/af_asyncts.c
View file @
be51e589
...
...
@@ -186,7 +186,7 @@ static int filter_samples(AVFilterLink *inlink, AVFilterBufferRef *buf)
if
(
labs
(
delta
)
>
s
->
min_delta
)
{
av_log
(
ctx
,
AV_LOG_VERBOSE
,
"Discontinuity - %"
PRId64
" samples.
\n
"
,
delta
);
out_size
+=
delta
;
out_size
=
av_clipl_int32
((
int64_t
)
out_size
+
delta
)
;
}
else
{
if
(
s
->
resample
)
{
int
comp
=
av_clip
(
delta
,
-
s
->
max_comp
,
s
->
max_comp
);
...
...
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