Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
17cc65a0
Commit
17cc65a0
authored
Nov 21, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Remove unused variables.
parent
cade59aa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
filesource.c
dlls/quartz/filesource.c
+1
-2
videorenderer.c
dlls/quartz/videorenderer.c
+0
-2
No files found.
dlls/quartz/filesource.c
View file @
17cc65a0
...
...
@@ -306,9 +306,8 @@ static HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName,
DWORD
dwValueNameLen
=
sizeof
(
wszValueName
)
/
sizeof
(
wszValueName
[
0
]);
/* remember this is in chars */
DWORD
dwDataLen
=
maxValueLen
;
/* remember this is in bytes */
static
const
WCHAR
wszSourceFilter
[]
=
{
'S'
,
'o'
,
'u'
,
'r'
,
'c'
,
'e'
,
' '
,
'F'
,
'i'
,
'l'
,
't'
,
'e'
,
'r'
,
0
};
LONG
temp
;
if
(
(
temp
=
RegEnumValueW
(
hkeyMinor
,
indexValue
,
wszValueName
,
&
dwValueNameLen
,
NULL
,
&
dwType
,
(
LPBYTE
)
wszPatternString
,
&
dwDataLen
)
)
!=
ERROR_SUCCESS
)
if
(
RegEnumValueW
(
hkeyMinor
,
indexValue
,
wszValueName
,
&
dwValueNameLen
,
NULL
,
&
dwType
,
(
LPBYTE
)
wszPatternString
,
&
dwDataLen
)
!=
ERROR_SUCCESS
)
{
HeapFree
(
GetProcessHeap
(),
0
,
wszPatternString
);
break
;
...
...
dlls/quartz/videorenderer.c
View file @
17cc65a0
...
...
@@ -207,12 +207,10 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
{
AM_MEDIA_TYPE
amt
;
HRESULT
hr
=
S_OK
;
DDSURFACEDESC
sdesc
;
BITMAPINFOHEADER
*
bmiHeader
;
TRACE
(
"(%p)->(%p, %d)
\n
"
,
This
,
data
,
size
);
sdesc
.
dwSize
=
sizeof
(
sdesc
);
hr
=
IPin_ConnectionMediaType
(
&
This
->
renderer
.
pInputPin
->
pin
.
IPin_iface
,
&
amt
);
if
(
FAILED
(
hr
))
{
ERR
(
"Unable to retrieve media type
\n
"
);
...
...
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