strmbase: Use nameless unions/structs.
This commit is contained in:
parent
0724f94fa7
commit
f5c4ae7c10
2 changed files with 3 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue