strmbase: Remove no longer necessary call to CoInitialize().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ae5f945442
commit
6a3f4b8ee3
|
@ -149,8 +149,6 @@ HRESULT WINAPI AMovieDllRegisterServer2(BOOL bRegister)
|
|||
if (bRegister)
|
||||
hr = SetupRegisterAllClasses(g_Templates, g_cTemplates, szFileName, TRUE );
|
||||
|
||||
CoInitialize(NULL);
|
||||
|
||||
TRACE("Getting IFilterMapper2\r\n");
|
||||
hr = CoCreateInstance(&CLSID_FilterMapper2, NULL, CLSCTX_INPROC_SERVER,
|
||||
&IID_IFilterMapper2, (void **)&pIFM2);
|
||||
|
@ -162,10 +160,6 @@ HRESULT WINAPI AMovieDllRegisterServer2(BOOL bRegister)
|
|||
if (pIFM2)
|
||||
IFilterMapper2_Release(pIFM2);
|
||||
|
||||
/* and clear up */
|
||||
CoFreeUnusedLibraries();
|
||||
CoUninitialize();
|
||||
|
||||
/* if unregistering, unregister all OLE servers */
|
||||
if (SUCCEEDED(hr) && !bRegister)
|
||||
hr = SetupRegisterAllClasses(g_Templates, g_cTemplates, szFileName, FALSE);
|
||||
|
|
Loading…
Reference in New Issue