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
8aaab111
Commit
8aaab111
authored
Apr 10, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
af_channelmap: ensure the output channel layout is valid.
parent
949c603e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
af_channelmap.c
libavfilter/af_channelmap.c
+6
-0
No files found.
libavfilter/af_channelmap.c
View file @
8aaab111
...
...
@@ -270,6 +270,12 @@ static av_cold int channelmap_init(AVFilterContext *ctx)
}
s
->
output_layout
=
fmt
;
}
if
(
!
s
->
output_layout
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Output channel layout is not set and "
"cannot be guessed from the maps.
\n
"
);
return
AVERROR
(
EINVAL
);
}
ff_add_channel_layout
(
&
s
->
channel_layouts
,
s
->
output_layout
);
if
(
mode
==
MAP_PAIR_INT_STR
||
mode
==
MAP_PAIR_STR_STR
)
{
...
...
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