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
69c984b9
Commit
69c984b9
authored
Jan 15, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Remove unneeded casts.
parent
5ea25c62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
capturegraph.c
dlls/qcap/capturegraph.c
+3
-3
v4l.c
dlls/qcap/v4l.c
+2
-2
No files found.
dlls/qcap/capturegraph.c
View file @
69c984b9
...
...
@@ -165,7 +165,7 @@ fnCaptureGraphBuilder2_Release(ICaptureGraphBuilder2 * iface)
This
->
lpVtbl
=
NULL
;
This
->
lpVtbl2
=
NULL
;
if
(
This
->
mygraph
!=
NULL
)
IGraphBuilder_Release
(
(
IGraphBuilder
*
)
This
->
mygraph
);
IGraphBuilder_Release
(
This
->
mygraph
);
CoTaskMemFree
(
This
);
ObjectRefCount
(
FALSE
);
}
...
...
@@ -191,7 +191,7 @@ fnCaptureGraphBuilder2_SetFilterGraph(ICaptureGraphBuilder2 * iface,
return
E_POINTER
;
This
->
mygraph
=
pfg
;
IGraphBuilder_AddRef
(
(
IGraphBuilder
*
)
This
->
mygraph
);
IGraphBuilder_AddRef
(
This
->
mygraph
);
if
(
SUCCEEDED
(
IUnknown_QueryInterface
(
This
->
mygraph
,
&
IID_IMediaEvent
,
(
LPVOID
*
)
&
pmev
)))
{
...
...
@@ -219,7 +219,7 @@ fnCaptureGraphBuilder2_GetFilterGraph(ICaptureGraphBuilder2 * iface,
return
E_UNEXPECTED
;
}
IGraphBuilder_AddRef
(
(
IGraphBuilder
*
)
This
->
mygraph
);
IGraphBuilder_AddRef
(
This
->
mygraph
);
TRACE
(
"(%p) return filtergraph %p
\n
"
,
iface
,
*
pfg
);
return
S_OK
;
...
...
dlls/qcap/v4l.c
View file @
69c984b9
...
...
@@ -893,11 +893,11 @@ Capture * qcap_driver_init( IPin *pOut, USHORT card )
TRACE
(
"format: %d bits - %d x %d
\n
"
,
capBox
->
bitDepth
,
capBox
->
width
,
capBox
->
height
);
return
(
Capture
*
)
capBox
;
return
capBox
;
error:
if
(
capBox
)
qcap_driver_destroy
(
(
Capture
*
)
capBox
);
qcap_driver_destroy
(
capBox
);
return
NULL
;
}
...
...
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