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
08613d50
Commit
08613d50
authored
Jun 03, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: separate muxer/demuxer class category
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6fb7d03d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
options.c
libavformat/options.c
+7
-0
No files found.
libavformat/options.c
View file @
08613d50
...
...
@@ -76,6 +76,12 @@ static const AVClass *format_child_class_next(const AVClass *prev)
return
NULL
;
}
static
AVClassCategory
get_category
(
AVFormatContext
*
s
)
{
if
(
s
->
iformat
)
return
AV_CLASS_CATEGORY_DEMUXER
;
else
return
AV_CLASS_CATEGORY_MUXER
;
}
static
const
AVClass
av_format_context_class
=
{
.
class_name
=
"AVFormatContext"
,
.
item_name
=
format_to_name
,
...
...
@@ -84,6 +90,7 @@ static const AVClass av_format_context_class = {
.
child_next
=
format_child_next
,
.
child_class_next
=
format_child_class_next
,
.
category
=
AV_CLASS_CATEGORY_MUXER
,
.
get_category
=
get_category
,
};
static
void
avformat_get_context_defaults
(
AVFormatContext
*
s
)
...
...
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