Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
00dc2859
Commit
00dc2859
authored
Dec 13, 2014
by
Lukasz Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdutils: use macros for device test
Signed-off-by:
Lukasz Marek
<
lukasz.m.luki2@gmail.com
>
parent
b3311f3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
cmdutils.c
cmdutils.c
+1
-6
No files found.
cmdutils.c
View file @
00dc2859
...
@@ -1213,12 +1213,7 @@ static int is_device(const AVClass *avclass)
...
@@ -1213,12 +1213,7 @@ static int is_device(const AVClass *avclass)
{
{
if
(
!
avclass
)
if
(
!
avclass
)
return
0
;
return
0
;
return
avclass
->
category
==
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
||
return
AV_IS_INPUT_DEVICE
(
avclass
->
category
)
||
AV_IS_OUTPUT_DEVICE
(
avclass
->
category
);
avclass
->
category
==
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
||
avclass
->
category
==
AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT
||
avclass
->
category
==
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
||
avclass
->
category
==
AV_CLASS_CATEGORY_DEVICE_OUTPUT
||
avclass
->
category
==
AV_CLASS_CATEGORY_DEVICE_INPUT
;
}
}
static
int
show_formats_devices
(
void
*
optctx
,
const
char
*
opt
,
const
char
*
arg
,
int
device_only
)
static
int
show_formats_devices
(
void
*
optctx
,
const
char
*
opt
,
const
char
*
arg
,
int
device_only
)
...
...
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