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
a948e5e4
Commit
a948e5e4
authored
Oct 07, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Free two assert calls from having side effects.
parent
0324fc57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mpegsplit.c
dlls/quartz/mpegsplit.c
+5
-2
No files found.
dlls/quartz/mpegsplit.c
View file @
a948e5e4
...
...
@@ -182,7 +182,8 @@ static HRESULT FillBuffer(MPEGSplitterImpl *This, IMediaSample *pCurrentSample)
IMediaSample_GetPointer
(
pCurrentSample
,
&
fbuf
);
/* Find the next valid header.. it <SHOULD> be right here */
assert
(
parse_header
(
fbuf
,
&
length
,
&
This
->
position
)
==
S_OK
);
hr
=
parse_header
(
fbuf
,
&
length
,
&
This
->
position
);
assert
(
hr
==
S_OK
);
IMediaSample_SetActualDataLength
(
pCurrentSample
,
length
);
/* Queue the next sample */
...
...
@@ -739,7 +740,9 @@ static HRESULT MPEGSplitter_first_request(LPVOID iface)
IMediaSample
*
sample
;
TRACE
(
"Seeking? %d
\n
"
,
This
->
seek
);
assert
(
parse_header
(
This
->
header
,
&
length
,
NULL
)
==
S_OK
);
hr
=
parse_header
(
This
->
header
,
&
length
,
NULL
);
assert
(
hr
==
S_OK
);
if
(
pin
->
rtCurrent
>=
pin
->
rtStop
)
{
...
...
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