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
1232e67b
Commit
1232e67b
authored
Aug 06, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_compand: change error condition into warning
parent
f8ad2ddd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
af_compand.c
libavfilter/af_compand.c
+4
-3
No files found.
libavfilter/af_compand.c
View file @
1232e67b
...
...
@@ -349,9 +349,10 @@ static int config_output(AVFilterLink *outlink)
}
if
(
nb_attacks
>
channels
||
nb_decays
>
channels
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Number of attacks/decays bigger than number of channels.
\n
"
);
return
AVERROR
(
EINVAL
);
av_log
(
ctx
,
AV_LOG_WARNING
,
"Number of attacks/decays bigger than number of channels. Ignoring rest of entries.
\n
"
);
nb_attacks
=
FFMIN
(
nb_attacks
,
channels
);
nb_decays
=
FFMIN
(
nb_decays
,
channels
);
}
uninit
(
ctx
);
...
...
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