http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15db059
)
quartz: Break processing loop when shutting down.
author
Chris Robinson
<chris.kcat@gmail.com>
Mon, 31 Mar 2008 17:01:54 +0000
(10:01 -0700)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 1 Apr 2008 09:26:29 +0000
(11:26 +0200)
dlls/quartz/mpegsplit.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/quartz/mpegsplit.c
b/dlls/quartz/mpegsplit.c
index cb7528f56031ded4b0b34f7b78d972d0e6301c43..dca0042031f696aeee69dbdc23c7aa03b689afd2 100644
(file)
--- a/
dlls/quartz/mpegsplit.c
+++ b/
dlls/quartz/mpegsplit.c
@@
-363,8
+363,11
@@
static HRESULT MPEGSplitter_process_sample(LPVOID iface, IMediaSample * pSample)
IMediaSample_SetSyncPoint(This->pCurrentSample, TRUE);
}
hr = FillBuffer(This, &pbSrcStream, &cbSrcStream);
- if (SUCCEEDED(hr))
+ if (SUCCEEDED(hr)) {
+ if (hr == S_FALSE)
+ break;
continue;
+ }
fail:
FIXME("Failed with hres: %08x!\n", hr);