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
66fdbcbb
Commit
66fdbcbb
authored
Jan 17, 2012
by
Clément Bœsch
Committed by
Clément Bœsch
Jan 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pan: raise correct error when there is no param specified.
parent
0bb57f8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
af_pan.c
libavfilter/af_pan.c
+6
-0
No files found.
libavfilter/af_pan.c
View file @
66fdbcbb
...
...
@@ -95,6 +95,12 @@ static av_cold int init(AVFilterContext *ctx, const char *args0, void *opaque)
int
nb_in_channels
[
2
]
=
{
0
,
0
};
// number of unnamed and named input channels
double
gain
;
if
(
!
args0
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"pan filter needs a channel layout and a set "
"of channels definitions as parameter
\n
"
);
return
AVERROR
(
EINVAL
);
}
if
(
!
args
)
return
AVERROR
(
ENOMEM
);
arg
=
av_strtok
(
args
,
":"
,
&
tokenizer
);
...
...
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