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
f0c64d0d
Commit
f0c64d0d
authored
Sep 09, 2011
by
Ramiro Polla
Committed by
Stefano Sabatini
Sep 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dshow: indent
Signed-off-by:
Stefano Sabatini
<
stefano.sabatini-lala@poste.it
>
parent
1c282f96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
dshow.c
libavdevice/dshow.c
+9
-9
No files found.
libavdevice/dshow.c
View file @
f0c64d0d
...
@@ -265,10 +265,10 @@ dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum,
...
@@ -265,10 +265,10 @@ dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum,
buf
=
dup_wchar_to_utf8
(
var
.
bstrVal
);
buf
=
dup_wchar_to_utf8
(
var
.
bstrVal
);
if
(
pfilter
)
{
if
(
pfilter
)
{
if
(
strcmp
(
device_name
,
buf
))
if
(
strcmp
(
device_name
,
buf
))
goto
fail1
;
goto
fail1
;
IMoniker_BindToObject
(
m
,
0
,
0
,
&
IID_IBaseFilter
,
(
void
*
)
&
device_filter
);
IMoniker_BindToObject
(
m
,
0
,
0
,
&
IID_IBaseFilter
,
(
void
*
)
&
device_filter
);
}
else
{
}
else
{
av_log
(
avctx
,
AV_LOG_INFO
,
"
\"
%s
\"\n
"
,
buf
);
av_log
(
avctx
,
AV_LOG_INFO
,
"
\"
%s
\"\n
"
,
buf
);
}
}
...
@@ -284,12 +284,12 @@ fail1:
...
@@ -284,12 +284,12 @@ fail1:
IEnumMoniker_Release
(
classenum
);
IEnumMoniker_Release
(
classenum
);
if
(
pfilter
)
{
if
(
pfilter
)
{
if
(
!
device_filter
)
{
if
(
!
device_filter
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Could not find %s device.
\n
"
,
av_log
(
avctx
,
AV_LOG_ERROR
,
"Could not find %s device.
\n
"
,
devtypename
);
devtypename
);
return
AVERROR
(
EIO
);
return
AVERROR
(
EIO
);
}
}
*
pfilter
=
device_filter
;
*
pfilter
=
device_filter
;
}
}
return
0
;
return
0
;
...
...
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