Module: wine Branch: master Commit: f9bb5f4a572a9de453645a151608571ee3108fb7 URL: https://source.winehq.org/git/wine.git/?a=commit;h=f9bb5f4a572a9de453645a151...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Fri Mar 8 09:57:44 2019 +0300
mfplat: Forward CopyAllItems() for samples.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mfplat/buffer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/mfplat/buffer.c b/dlls/mfplat/buffer.c index 833ec04..fb4b014 100644 --- a/dlls/mfplat/buffer.c +++ b/dlls/mfplat/buffer.c @@ -456,9 +456,8 @@ static HRESULT WINAPI sample_GetItemByIndex(IMFSample *iface, UINT32 index, GUID
static HRESULT WINAPI sample_CopyAllItems(IMFSample *iface, IMFAttributes *dest) { - FIXME("%p, %p.\n", iface, dest); - - return E_NOTIMPL; + struct sample *sample = impl_from_IMFSample(iface); + return IMFAttributes_CopyAllItems(&sample->attributes.IMFAttributes_iface, dest); }
static HRESULT WINAPI sample_GetSampleFlags(IMFSample *iface, DWORD *flags)