"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/amstream/multimedia.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

multimedia.c  (wine-5.12.tar.xz):multimedia.c  (wine-5.13.tar.xz)
skipping to change at line 95 skipping to change at line 95
struct multimedia_stream *This = impl_from_IAMMultiMediaStream(iface); struct multimedia_stream *This = impl_from_IAMMultiMediaStream(iface);
ULONG ref = InterlockedDecrement(&This->ref); ULONG ref = InterlockedDecrement(&This->ref);
TRACE("(%p/%p)\n", iface, This); TRACE("(%p/%p)\n", iface, This);
if (!ref) if (!ref)
{ {
if (This->ipin) if (This->ipin)
IPin_Release(This->ipin); IPin_Release(This->ipin);
IMediaStreamFilter_Release(This->filter); IMediaStreamFilter_Release(This->filter);
if (This->media_seeking) if (This->media_seeking)
IMediaSeeking_Release(This->media_seeking); IMediaSeeking_Release(This->media_seeking);
if (This->media_control) if (This->media_control)
IMediaControl_Release(This->media_control); IMediaControl_Release(This->media_control);
if (This->graph) if (This->graph)
IGraphBuilder_Release(This->graph); IGraphBuilder_Release(This->graph);
HeapFree(GetProcessHeap(), 0, This); HeapFree(GetProcessHeap(), 0, This);
} }
return ref; return ref;
skipping to change at line 521 skipping to change at line 522
object->ref = 1; object->ref = 1;
if (FAILED(hr = CoCreateInstance(&CLSID_MediaStreamFilter, NULL, if (FAILED(hr = CoCreateInstance(&CLSID_MediaStreamFilter, NULL,
CLSCTX_INPROC_SERVER, &IID_IMediaStreamFilter, (void **)&object->fil ter))) CLSCTX_INPROC_SERVER, &IID_IMediaStreamFilter, (void **)&object->fil ter)))
{ {
ERR("Failed to create stream filter, hr %#x.\n", hr); ERR("Failed to create stream filter, hr %#x.\n", hr);
heap_free(object); heap_free(object);
return hr; return hr;
} }
/* The stream takes an additional reference to the filter. */
TRACE("Created multimedia stream %p.\n", object); TRACE("Created multimedia stream %p.\n", object);
*out = &object->IAMMultiMediaStream_iface; *out = &object->IAMMultiMediaStream_iface;
return S_OK; return S_OK;
} }
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)