Commit edef1412 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard
parent 8516a9e9
......@@ -147,7 +147,7 @@ static void check_attributes_(int line, IMFAttributes *attributes, const struct
case VT_VECTOR | VT_UI1:
buf += sprintf(buf, "size %lu, data {", value.caub.cElems);
for (j = 0; j < 16 && j < value.caub.cElems; ++j)
buf += sprintf(buf, "0x%02x,", value.caub.pElems[i + j]);
buf += sprintf(buf, "0x%02x,", value.caub.pElems[j]);
if (value.caub.cElems > 16)
buf += sprintf(buf, "...}");
else
......
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