Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
004a16fb
Commit
004a16fb
authored
Jun 21, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Factorize.
parent
c5af2987
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+3
-6
No files found.
modules/access/dshow/dshow.cpp
View file @
004a16fb
...
...
@@ -2003,6 +2003,7 @@ static int ConfigDevicesCallback( vlc_object_t *p_this, char const *psz_name,
module_config_t
*
p_item
;
bool
b_audio
=
false
;
char
*
psz_device
=
NULL
;
int
i_ret
=
VLC_SUCCESS
;
if
(
!
EMPTY_STR
(
newval
.
psz_string
)
)
psz_device
=
strdup
(
newval
.
psz_string
);
...
...
@@ -2046,19 +2047,15 @@ static int ConfigDevicesCallback( vlc_object_t *p_this, char const *psz_name,
}
else
{
/* Uninitialize OLE/COM */
CoUninitialize
();
msg_Err
(
p_this
,
"didn't find device: %s"
,
devicename
.
c_str
()
);
free
(
psz_device
);
return
VLC_EGENERIC
;
i_ret
=
VLC_EGENERIC
;
}
/* Uninitialize OLE/COM */
CoUninitialize
();
free
(
psz_device
);
return
VLC_SUCCESS
;
return
i_ret
;
}
/*****************************************************************************
...
...
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