Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
3f576cd9
Commit
3f576cd9
authored
Nov 14, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a few windows warnings (cast to void** aka LPVOID*)
parent
1fa83e0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
modules/codec/avcodec/dxva2.c
modules/codec/avcodec/dxva2.c
+1
-1
modules/codec/dmo/dmo.c
modules/codec/dmo/dmo.c
+5
-4
No files found.
modules/codec/avcodec/dxva2.c
View file @
3f576cd9
...
...
@@ -754,7 +754,7 @@ static int DxCreateVideoService(vlc_va_dxva2_t *va)
IDirectXVideoDecoderService
*
vs
;
hr
=
IDirect3DDeviceManager9_GetVideoService
(
va
->
devmng
,
device
,
&
IID_IDirectXVideoDecoderService
,
&
vs
);
(
void
**
)
&
vs
);
if
(
FAILED
(
hr
))
{
msg_Err
(
va
->
log
,
"GetVideoService failed"
);
return
VLC_EGENERIC
;
...
...
modules/codec/dmo/dmo.c
View file @
3f576cd9
...
...
@@ -788,7 +788,8 @@ loader:
}
i_err
=
GetClass
(
codecs_table
[
i_codec
].
p_guid
,
&
IID_IClassFactory
,
&
cFactory
);
(
void
**
)
&
cFactory
);
if
(
i_err
||
cFactory
==
NULL
)
{
msg_Dbg
(
p_this
,
"no such class object"
);
...
...
@@ -797,7 +798,7 @@ loader:
}
i_err
=
cFactory
->
vt
->
CreateInstance
(
cFactory
,
0
,
&
IID_IUnknown
,
&
cObject
);
(
void
**
)
&
cObject
);
cFactory
->
vt
->
Release
(
(
IUnknown
*
)
cFactory
);
if
(
i_err
||
!
cObject
)
{
...
...
@@ -806,7 +807,7 @@ loader:
return
VLC_EGENERIC
;
}
i_err
=
cObject
->
vt
->
QueryInterface
(
cObject
,
&
IID_IMediaObject
,
pp_dmo
);
(
void
**
)
pp_dmo
);
cObject
->
vt
->
Release
(
(
IUnknown
*
)
cObject
);
if
(
i_err
||
!*
pp_dmo
)
{
...
...
@@ -1209,7 +1210,7 @@ static int EncoderSetVideoType( encoder_t *p_enc, IMediaObject *p_dmo )
i_err
=
p_dmo
->
vt
->
QueryInterface
(
(
IUnknown
*
)
p_dmo
,
&
IID_IWMCodecPrivateData
,
&
p_privdata
);
(
void
**
)
&
p_privdata
);
if
(
i_err
)
break
;
i_err
=
p_privdata
->
vt
->
SetPartialOutputType
(
p_privdata
,
&
dmo_type
);
...
...
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