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
f73a8396
Commit
f73a8396
authored
Nov 02, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use debugstr_fourcc instead of debugstr_an.
parent
9092a4cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
filtermapper.c
dlls/quartz/filtermapper.c
+6
-14
No files found.
dlls/quartz/filtermapper.c
View file @
f73a8396
...
...
@@ -373,7 +373,7 @@ struct REG_RF
struct
REG_RFP
{
BYTE
signature
[
4
];
/* e.g. "0pi3"
*/
DWORD
signature
;
/* e.g. '0pi3'
*/
DWORD
dwFlags
;
DWORD
dwInstances
;
DWORD
dwMediaTypes
;
...
...
@@ -384,7 +384,7 @@ struct REG_RFP
struct
REG_TYPE
{
BYTE
signature
[
4
];
/* e.g. "0ty3"
*/
DWORD
signature
;
/* e.g. '0ty3'
*/
DWORD
dwUnused
;
DWORD
dwOffsetMajor
;
DWORD
dwOffsetMinor
;
...
...
@@ -613,11 +613,7 @@ static HRESULT FM2_WriteFilterData(const REGFILTER2 * prf2, BYTE **ppData, ULONG
REGFILTERPINS2
rgPin2
=
prf2
->
rgPins2
[
i
];
unsigned
int
j
;
rrfp
.
signature
[
0
]
=
'0'
;
rrfp
.
signature
[
1
]
=
'p'
;
rrfp
.
signature
[
2
]
=
'i'
;
rrfp
.
signature
[
3
]
=
'3'
;
rrfp
.
signature
[
0
]
+=
i
;
rrfp
.
signature
=
MAKEFOURCC
(
'0'
+
i
,
'p'
,
'i'
,
'3'
);
rrfp
.
dwFlags
=
rgPin2
.
dwFlags
;
rrfp
.
dwInstances
=
rgPin2
.
cInstances
;
rrfp
.
dwMediaTypes
=
rgPin2
.
nMediaTypes
;
...
...
@@ -639,11 +635,7 @@ static HRESULT FM2_WriteFilterData(const REGFILTER2 * prf2, BYTE **ppData, ULONG
{
struct
REG_TYPE
rt
;
const
CLSID
*
clsMinorType
=
rgPin2
.
lpMediaType
[
j
].
clsMinorType
?
rgPin2
.
lpMediaType
[
j
].
clsMinorType
:
&
MEDIASUBTYPE_NULL
;
rt
.
signature
[
0
]
=
'0'
;
rt
.
signature
[
1
]
=
't'
;
rt
.
signature
[
2
]
=
'y'
;
rt
.
signature
[
3
]
=
'3'
;
rt
.
signature
[
0
]
+=
j
;
rt
.
signature
=
MAKEFOURCC
(
'0'
+
j
,
't'
,
'y'
,
'3'
);
rt
.
dwUnused
=
0
;
rt
.
dwOffsetMajor
=
find_data
(
&
clsidStore
,
rgPin2
.
lpMediaType
[
j
].
clsMajorType
,
sizeof
(
CLSID
));
if
(
rt
.
dwOffsetMajor
==
-
1
)
...
...
@@ -726,7 +718,7 @@ static HRESULT FM2_ReadFilterData(BYTE *pData, REGFILTER2 * prf2)
/* FIXME: check signature */
TRACE
(
"
\t
signature = %s
\n
"
,
debugstr_
an
((
const
char
*
)
prrfp
->
signature
,
4
));
TRACE
(
"
\t
signature = %s
\n
"
,
debugstr_
fourcc
(
prrfp
->
signature
));
TRACE
(
"
\t
Pin %lu: dwFlags %#lx, dwInstances %lu, dwMediaTypes %lu, dwMediums %lu.
\n
"
,
i
,
prrfp
->
dwFlags
,
prrfp
->
dwInstances
,
prrfp
->
dwMediaTypes
,
prrfp
->
dwMediums
);
...
...
@@ -760,7 +752,7 @@ static HRESULT FM2_ReadFilterData(BYTE *pData, REGFILTER2 * prf2)
CLSID
*
clsMinor
=
CoTaskMemAlloc
(
sizeof
(
CLSID
));
/* FIXME: check signature */
TRACE
(
"
\t\t
signature = %s
\n
"
,
debugstr_
an
((
const
char
*
)
prt
->
signature
,
4
));
TRACE
(
"
\t\t
signature = %s
\n
"
,
debugstr_
fourcc
(
prt
->
signature
));
memcpy
(
clsMajor
,
pData
+
prt
->
dwOffsetMajor
,
sizeof
(
CLSID
));
memcpy
(
clsMinor
,
pData
+
prt
->
dwOffsetMinor
,
sizeof
(
CLSID
));
...
...
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