diff --git a/dlls/windowscodecs/metadatahandler.c b/dlls/windowscodecs/metadatahandler.c index 23854d8c0bd..114c3afd8b6 100644 --- a/dlls/windowscodecs/metadatahandler.c +++ b/dlls/windowscodecs/metadatahandler.c @@ -21,6 +21,7 @@ #include #define COBJMACROS +#define NONAMELESSUNION #include "windef.h" #include "winbase.h" @@ -567,8 +568,8 @@ static HRESULT LoadUnknownMetadata(IStream *input, const GUID *preferred_vendor, PropVariantInit(&result[0].value); result[0].value.vt = VT_BLOB; - result[0].value.blob.cbSize = bytesread; - result[0].value.blob.pBlobData = data; + result[0].value.u.blob.cbSize = bytesread; + result[0].value.u.blob.pBlobData = data; *items = result; *item_count = 1;