Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c88d0de6
Commit
c88d0de6
authored
Mar 16, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmo: avoid useless string conversion
parent
527c109b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
modules/codec/dmo/dmo.c
modules/codec/dmo/dmo.c
+2
-7
No files found.
modules/codec/dmo/dmo.c
View file @
c88d0de6
...
...
@@ -726,23 +726,18 @@ static int LoadDMO( vlc_object_t *p_this, HINSTANCE *p_hmsdmo_dll,
while
(
(
S_OK
==
p_enum_dmo
->
vt
->
Next
(
p_enum_dmo
,
1
,
&
clsid_dmo
,
&
psz_dmo_name
,
&
i_dummy
/* NULL doesn't work */
)
)
)
{
char
*
psz_temp
=
FromWide
(
psz_dmo_name
);
msg_Dbg
(
p_this
,
"found DMO: %s"
,
psz_temp
);
msg_Dbg
(
p_this
,
"found DMO: %ls"
,
psz_dmo_name
);
CoTaskMemFree
(
psz_dmo_name
);
/* Create DMO */
if
(
CoCreateInstance
(
&
clsid_dmo
,
NULL
,
CLSCTX_INPROC
,
&
IID_IMediaObject
,
(
void
**
)
pp_dmo
)
)
{
msg_Warn
(
p_this
,
"can't create DMO: %s"
,
psz_temp
);
free
(
psz_temp
);
msg_Warn
(
p_this
,
"can't create DMO: %ls"
,
psz_dmo_name
);
*
pp_dmo
=
0
;
}
else
{
free
(
psz_temp
);
break
;
}
}
p_enum_dmo
->
vt
->
Release
(
(
IUnknown
*
)
p_enum_dmo
);
...
...
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