Commit cb1fe28b 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
parent 67d04d60
...@@ -709,7 +709,7 @@ static char *DxDescribe(vlc_va_dxva2_t *va) ...@@ -709,7 +709,7 @@ static char *DxDescribe(vlc_va_dxva2_t *va)
} }
char *description; 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, sizeof(id->Description), id->Description,
id->VendorId, vendor, id->DeviceId, id->Revision) < 0) id->VendorId, vendor, id->DeviceId, id->Revision) < 0)
return NULL; 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