Commit f5c4ae7c authored by Alexandre Julliard's avatar Alexandre Julliard

strmbase: Use nameless unions/structs.

parent 0724f94f
......@@ -132,10 +132,10 @@ void strmbase_dump_media_type(const AM_MEDIA_TYPE *mt)
if (vih->dwInterlaceFlags) TRACE("interlace flags %#lx, ", vih->dwInterlaceFlags);
if (vih->dwCopyProtectFlags) TRACE("copy-protection flags %#lx, ", vih->dwCopyProtectFlags);
TRACE("aspect ratio %lu/%lu, ", vih->dwPictAspectRatioX, vih->dwPictAspectRatioY);
if (vih->u.dwControlFlags) TRACE("control flags %#lx, ", vih->u.dwControlFlags);
if (vih->u.dwControlFlags & AMCONTROL_COLORINFO_PRESENT)
if (vih->dwControlFlags) TRACE("control flags %#lx, ", vih->dwControlFlags);
if (vih->dwControlFlags & AMCONTROL_COLORINFO_PRESENT)
{
const DXVA_ExtendedFormat *colorimetry = (const DXVA_ExtendedFormat *)&vih->u.dwControlFlags;
const DXVA_ExtendedFormat *colorimetry = (const DXVA_ExtendedFormat *)&vih->dwControlFlags;
TRACE("chroma site %#x, range %#x, matrix %#x, lighting %#x, primaries %#x, transfer function %#x, ",
colorimetry->VideoChromaSubsampling, colorimetry->NominalRange, colorimetry->VideoTransferMatrix,
......
......@@ -22,8 +22,6 @@
#define __WINE_STRMBASE_PRIVATE_H
#include <assert.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define COBJMACROS
#include "dshow.h"
#include "uuids.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment