[AMSTREAM]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 21 Sep 2014 17:28:06 +0000 (17:28 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 21 Sep 2014 17:28:06 +0000 (17:28 +0000)
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64217

reactos/dll/directx/wine/amstream/mediastreamfilter.c
reactos/media/doc/README.WINE

index 4b7a3b3..b43fea4 100644 (file)
@@ -225,7 +225,7 @@ static ULONG WINAPI MediaStreamFilterImpl_AddRef(IMediaStreamFilter *iface)
 static ULONG WINAPI MediaStreamFilterImpl_Release(IMediaStreamFilter *iface)
 {
     IMediaStreamFilterImpl *This = impl_from_IMediaStreamFilter(iface);
-    ULONG ref = BaseFilterImpl_Release(&This->filter.IBaseFilter_iface);
+    ULONG ref = InterlockedDecrement(&This->filter.refCount);
 
     TRACE("(%p)->(): new ref = %u\n", iface, ref);
 
@@ -237,6 +237,7 @@ static ULONG WINAPI MediaStreamFilterImpl_Release(IMediaStreamFilter *iface)
             IMediaStream_Release(This->streams[i]);
             IPin_Release(This->pins[i]);
         }
+        BaseFilter_Destroy(&This->filter);
         HeapFree(GetProcessHeap(), 0, This);
     }
 
index f0bc7b6..8e8d631 100644 (file)
@@ -27,7 +27,7 @@ reactos/tools/wpp                 # Synced to Wine-1.7.27
 
 The following libraries are shared with Wine.
 
-reactos/dll/directx/wine/amstream       # Synced to Wine-1.7.17
+reactos/dll/directx/wine/amstream       # Synced to Wine-1.7.27
 reactos/dll/directx/wine/d3d8           # Synced to Wine-1.7.17
 reactos/dll/directx/wine/d3d9           # Synced to Wine-1.7.17
 reactos/dll/directx/wine/d3dcompiler_43 # Synced to Wine-1.7.17