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
efcdb202
Commit
efcdb202
authored
Jun 18, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Clear the fccType in mmioDescend for a not RIFF/LIST case.
parent
64cbea52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
mmio.c
dlls/winmm/mmio.c
+3
-0
mmio.c
dlls/winmm/tests/mmio.c
+1
-1
No files found.
dlls/winmm/mmio.c
View file @
efcdb202
...
...
@@ -1224,7 +1224,10 @@ MMRESULT WINAPI mmioDescend(HMMIO hmmio, LPMMCKINFO lpck,
if
(
lpck
->
ckid
==
FOURCC_RIFF
||
lpck
->
ckid
==
FOURCC_LIST
)
mmioSeek
(
hmmio
,
lpck
->
dwDataOffset
+
sizeof
(
DWORD
),
SEEK_SET
);
else
{
mmioSeek
(
hmmio
,
lpck
->
dwDataOffset
,
SEEK_SET
);
lpck
->
fccType
=
0
;
}
TRACE
(
"lpck: ckid=%.4s, cksize=%d, dwDataOffset=%d fccType=%08X (%.4s)!
\n
"
,
(
LPSTR
)
&
lpck
->
ckid
,
lpck
->
cksize
,
lpck
->
dwDataOffset
,
lpck
->
fccType
,
srchType
?
(
LPSTR
)
&
lpck
->
fccType
:
""
);
...
...
dlls/winmm/tests/mmio.c
View file @
efcdb202
...
...
@@ -32,7 +32,7 @@ static DWORD RIFF_buf[] =
{
FOURCC_RIFF
,
7
*
sizeof
(
DWORD
)
+
sizeof
(
MainAVIHeader
),
mmioFOURCC
(
'A'
,
'V'
,
'I'
,
' '
),
FOURCC_LIST
,
sizeof
(
DWORD
)
+
sizeof
(
MMCKINFO
)
+
sizeof
(
MainAVIHeader
),
listtypeAVIHEADER
,
ckidAVIMAINHDR
,
sizeof
(
MainAVIHeader
),
ckidAVIMAINHDR
,
sizeof
(
MainAVIHeader
),
0xdeadbeef
,
0xdeadbeef
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
...
...
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