Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6f490031
Commit
6f490031
authored
Jan 08, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Remove superfluous casts.
parent
1b092d70
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
enummedia.c
dlls/qcap/enummedia.c
+2
-2
enumpins.c
dlls/qcap/enumpins.c
+2
-2
v4l.c
dlls/qcap/v4l.c
+1
-1
vfwcapture.c
dlls/qcap/vfwcapture.c
+4
-4
No files found.
dlls/qcap/enummedia.c
View file @
6f490031
...
...
@@ -133,9 +133,9 @@ static HRESULT WINAPI IEnumMediaTypesImpl_QueryInterface(IEnumMediaTypes * iface
*
ppv
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IEnumMediaTypes
))
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
if
(
*
ppv
)
{
...
...
dlls/qcap/enumpins.c
View file @
6f490031
...
...
@@ -69,9 +69,9 @@ static HRESULT WINAPI IEnumPinsImpl_QueryInterface(IEnumPins * iface, REFIID rii
*
ppv
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IEnumPins
))
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
if
(
*
ppv
)
{
...
...
dlls/qcap/v4l.c
View file @
6f490031
...
...
@@ -568,7 +568,7 @@ static void V4l_FreeFrame(Capture * capBox)
static
DWORD
WINAPI
ReadThread
(
LPVOID
lParam
)
{
Capture
*
capBox
=
(
Capture
*
)
lParam
;
Capture
*
capBox
=
lParam
;
HRESULT
hr
;
IMediaSample
*
pSample
=
NULL
;
unsigned
long
framecount
=
0
;
...
...
dlls/qcap/vfwcapture.c
View file @
6f490031
...
...
@@ -612,7 +612,7 @@ PPB_Load( IPersistPropertyBag * iface, IPropertyBag *pPropBag,
TRACE
(
"%p/%p-> (%p, %p)
\n
"
,
iface
,
This
,
pPropBag
,
pErrorLog
);
V_VT
(
&
var
)
=
VT_I4
;
hr
=
IPropertyBag_Read
(
pPropBag
,
(
LPCOLESTR
)
VFWIndex
,
&
var
,
pErrorLog
);
hr
=
IPropertyBag_Read
(
pPropBag
,
VFWIndex
,
&
var
,
pErrorLog
);
if
(
SUCCEEDED
(
hr
))
{
...
...
@@ -662,7 +662,7 @@ KSP_QueryInterface( IKsPropertySet * iface, REFIID riid, LPVOID * ppv )
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IKsPropertySet
))
{
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
IKsPropertySet_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -788,9 +788,9 @@ static HRESULT WINAPI VfwPin_QueryInterface(IPin * iface, REFIID riid, LPVOID *
*
ppv
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IPin
))
*
ppv
=
(
LPVOID
)
This
;
*
ppv
=
This
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IKsPropertySet
))
*
ppv
=
(
LPVOID
)
&
(
This
->
KSP_VT
);
*
ppv
=
&
(
This
->
KSP_VT
);
else
if
(
IsEqualIID
(
riid
,
&
IID_IAMStreamConfig
))
return
IUnknown_QueryInterface
((
IUnknown
*
)
This
->
parent
,
riid
,
ppv
);
...
...
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