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
f66ad4db
Commit
f66ad4db
authored
Apr 11, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Make the avi splitter skip index headers.
parent
64be38a5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
avisplit.c
dlls/quartz/avisplit.c
+8
-0
No files found.
dlls/quartz/avisplit.c
View file @
f66ad4db
...
...
@@ -138,6 +138,7 @@ static HRESULT AVISplitter_Sample(LPVOID iface, IMediaSample * pSample)
WORD
streamId
;
Parser_OutputPin
*
pOutputPin
;
BOOL
bSyncPoint
=
TRUE
;
BYTE
*
fcc
=
(
BYTE
*
)
&
This
->
CurrentChunk
.
fcc
;
if
(
This
->
CurrentChunkOffset
>=
tStart
)
offset_src
=
(
long
)
BYTES_FROM_MEDIATIME
(
This
->
CurrentChunkOffset
-
tStart
)
+
sizeof
(
RIFFCHUNK
);
...
...
@@ -196,6 +197,13 @@ static HRESULT AVISplitter_Sample(LPVOID iface, IMediaSample * pSample)
#endif
}
if
(
fcc
[
0
]
==
'i'
&&
fcc
[
1
]
==
'x'
)
{
if
(
S_FALSE
==
AVISplitter_NextChunk
(
&
This
->
CurrentChunkOffset
,
&
This
->
CurrentChunk
,
&
tStart
,
&
tStop
,
pbSrcStream
,
FALSE
))
bMoreData
=
FALSE
;
continue
;
}
streamId
=
StreamFromFOURCC
(
This
->
CurrentChunk
.
fcc
);
if
(
streamId
>
This
->
Parser
.
cStreams
)
...
...
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