Gerald Pfeifer : quartz: Fix return value for StdMediaSample2_GetTime in error cases.
Alexandre Julliard
julliard at winehq.org
Mon Apr 26 13:59:26 CDT 2010
Module: wine
Branch: master
Commit: 6c016ac039dd325c4335f454762899a8f3f829ca
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6c016ac039dd325c4335f454762899a8f3f829ca
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Apr 24 23:00:54 2010 +0200
quartz: Fix return value for StdMediaSample2_GetTime in error cases.
---
dlls/quartz/memallocator.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/quartz/memallocator.c b/dlls/quartz/memallocator.c
index 7f799c9..16b94e3 100644
--- a/dlls/quartz/memallocator.c
+++ b/dlls/quartz/memallocator.c
@@ -534,7 +534,7 @@ static HRESULT WINAPI StdMediaSample2_GetTime(IMediaSample2 * iface, REFERENCE_T
hr = S_OK;
}
- return S_OK;
+ return hr;
}
static HRESULT WINAPI StdMediaSample2_SetTime(IMediaSample2 * iface, REFERENCE_TIME * pStart, REFERENCE_TIME * pEnd)
More information about the wine-cvs
mailing list