mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 21:43:41 +08:00
[STRMBASE] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67127
This commit is contained in:
parent
c9fa5328d9
commit
2f3d8a962c
2
reactos/lib/3rdparty/strmbase/dllfunc.c
vendored
2
reactos/lib/3rdparty/strmbase/dllfunc.c
vendored
@ -154,7 +154,7 @@ HRESULT WINAPI AMovieDllRegisterServer2(BOOL bRegister)
|
||||
if (bRegister)
|
||||
hr = SetupRegisterAllClasses(g_Templates, g_cTemplates, szFileName, TRUE );
|
||||
|
||||
hr = CoInitialize(NULL);
|
||||
CoInitialize(NULL);
|
||||
|
||||
TRACE("Getting IFilterMapper2\r\n");
|
||||
hr = CoCreateInstance(&CLSID_FilterMapper2, NULL, CLSCTX_INPROC_SERVER,
|
||||
|
3
reactos/lib/3rdparty/strmbase/enumpins.c
vendored
3
reactos/lib/3rdparty/strmbase/enumpins.c
vendored
@ -119,7 +119,6 @@ static ULONG WINAPI IEnumPinsImpl_Release(IEnumPins * iface)
|
||||
static HRESULT WINAPI IEnumPinsImpl_Next(IEnumPins * iface, ULONG cPins, IPin ** ppPins, ULONG * pcFetched)
|
||||
{
|
||||
IEnumPinsImpl *This = impl_from_IEnumPins(iface);
|
||||
HRESULT hr = S_OK;
|
||||
ULONG i = 0;
|
||||
|
||||
TRACE("(%p)->(%u, %p, %p)\n", iface, cPins, ppPins, pcFetched);
|
||||
@ -136,7 +135,7 @@ static HRESULT WINAPI IEnumPinsImpl_Next(IEnumPins * iface, ULONG cPins, IPin **
|
||||
if (This->Version != This->receive_version(This->base))
|
||||
return VFW_E_ENUM_OUT_OF_SYNC;
|
||||
|
||||
while (i < cPins && hr == S_OK)
|
||||
while (i < cPins)
|
||||
{
|
||||
IPin *pin;
|
||||
pin = This->receive_pin(This->base, This->uIndex + i);
|
||||
|
2
reactos/lib/3rdparty/strmbase/pospass.c
vendored
2
reactos/lib/3rdparty/strmbase/pospass.c
vendored
@ -226,6 +226,8 @@ HRESULT WINAPI CreatePosPassThru(IUnknown* pUnkOuter, BOOL bRenderer, IPin *pPin
|
||||
ISeekingPassThru *passthru;
|
||||
|
||||
hr = CoCreateInstance(&CLSID_SeekingPassThru, pUnkOuter, CLSCTX_INPROC_SERVER, &IID_IUnknown, (void**)ppPassThru);
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
IUnknown_QueryInterface(*ppPassThru, &IID_ISeekingPassThru, (void**)&passthru);
|
||||
hr = ISeekingPassThru_Init(passthru, bRenderer, pPin);
|
||||
|
@ -258,7 +258,7 @@ In addition the following libs, dlls and source files are mostly based on code p
|
||||
from Winehq CVS. If you are looking to update something in these files
|
||||
check Wine current sources first as it may already be fixed.
|
||||
|
||||
reactos/lib/3rdparty/strmbase # Synced to Wine-1.7.27
|
||||
reactos/lib/3rdparty/strmbase # Synced to WineStaging-1.7.37
|
||||
|
||||
reactos/lib/rtl/actctx.c # Partly synced with WineStaging-1.7.37
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user