[PATCH 4/6] mfplat: Forward CopyAllItems() for samples.

Nikolay Sivov nsivov at codeweavers.com
Fri Mar 8 00:57:44 CST 2019


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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 833ec041a9..fb4b01420f 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)
-- 
2.20.1




More information about the wine-devel mailing list