1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

mfplat: Avoid implicit cast in IMFAttributes_GetUINT32 call.

This commit is contained in:
Jacek Caban 2023-12-09 12:14:21 +01:00 committed by Alexandre Julliard
parent b4fa0147e3
commit e935c242c3

View file

@ -1423,7 +1423,7 @@ static HRESULT sample_allocator_initialize(struct sample_allocator *allocator, u
unsigned int i, value;
GUID major, subtype;
UINT64 frame_size;
D3D11_USAGE usage;
UINT32 usage;
HRESULT hr;
if (FAILED(hr = IMFMediaType_GetMajorType(media_type, &major)))