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
0b20ab18
Commit
0b20ab18
authored
Jul 22, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ckidJUNK is a FOURCC not a TWOCC so rewrite the case statement
appropriately.
parent
383e06d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
17 deletions
+21
-17
avisplit.c
dlls/quartz/avisplit.c
+21
-17
No files found.
dlls/quartz/avisplit.c
View file @
0b20ab18
...
...
@@ -549,30 +549,34 @@ static HRESULT AVISplitter_Sample(LPVOID iface, IMediaSample * pSample)
else
offset_src
=
0
;
switch
(
T
WOCCFromFOURCC
(
This
->
CurrentChunk
.
fcc
)
)
switch
(
T
his
->
CurrentChunk
.
fcc
)
{
case
cktypeDIBcompressed
:
bSyncPoint
=
FALSE
;
/* fall-through */
case
cktypeDIBbits
:
/* FIXME: check that pin is of type video */
break
;
case
cktypeWAVEbytes
:
/* FIXME: check that pin is of type audio */
break
;
case
cktypePALchange
:
FIXME
(
"handle palette change
\n
"
);
break
;
case
ckidJUNK
:
/* silently ignore */
if
(
S_FALSE
==
AVISplitter_NextChunk
(
&
This
->
CurrentChunkOffset
,
&
This
->
CurrentChunk
,
&
tStart
,
&
tStop
,
pbSrcStream
))
bMoreData
=
FALSE
;
continue
;
default:
FIXME
(
"Skipping unknown chunk type: %s at file offset 0x%lx
\n
"
,
debugstr_an
((
LPSTR
)
&
This
->
CurrentChunk
.
fcc
,
4
),
(
DWORD
)
BYTES_FROM_MEDIATIME
(
This
->
CurrentChunkOffset
));
if
(
S_FALSE
==
AVISplitter_NextChunk
(
&
This
->
CurrentChunkOffset
,
&
This
->
CurrentChunk
,
&
tStart
,
&
tStop
,
pbSrcStream
))
bMoreData
=
FALSE
;
continue
;
switch
(
TWOCCFromFOURCC
(
This
->
CurrentChunk
.
fcc
))
{
case
cktypeDIBcompressed
:
bSyncPoint
=
FALSE
;
/* fall-through */
case
cktypeDIBbits
:
/* FIXME: check that pin is of type video */
break
;
case
cktypeWAVEbytes
:
/* FIXME: check that pin is of type audio */
break
;
case
cktypePALchange
:
FIXME
(
"handle palette change
\n
"
);
break
;
default:
FIXME
(
"Skipping unknown chunk type: %s at file offset 0x%lx
\n
"
,
debugstr_an
((
LPSTR
)
&
This
->
CurrentChunk
.
fcc
,
4
),
(
DWORD
)
BYTES_FROM_MEDIATIME
(
This
->
CurrentChunkOffset
));
if
(
S_FALSE
==
AVISplitter_NextChunk
(
&
This
->
CurrentChunkOffset
,
&
This
->
CurrentChunk
,
&
tStart
,
&
tStop
,
pbSrcStream
))
bMoreData
=
FALSE
;
continue
;
}
}
streamId
=
StreamFromFOURCC
(
This
->
CurrentChunk
.
fcc
);
...
...
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