Commit b2999095 authored by Rafaël Carré's avatar Rafaël Carré

dxva2: fix print format

DWORD is unsigned long, not int
http://msdn.microsoft.com/en-us/library/cc230318(v=prot.10).aspx
(cherry picked from commit cb1fe28ba2f6ebf237e8988f1bcfb10e1d1c3162)
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent c2c2300b
......@@ -721,7 +721,7 @@ static char *DxDescribe(vlc_va_dxva2_t *va)
}
char *description;
if (asprintf(&description, "DXVA2 (%.*s, vendor %d(%s), device %d, revision %d)",
if (asprintf(&description, "DXVA2 (%.*s, vendor %lu(%s), device %lu, revision %lu)",
sizeof(id->Description), id->Description,
id->VendorId, vendor, id->DeviceId, id->Revision) < 0)
return NULL;
......
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