Commit 4cfad9c4 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

windowscodecs: Fixed incorrect memset (Coverity).

parent b950b9a8
......@@ -1138,7 +1138,7 @@ static HRESULT WINAPI PngFrameEncode_Initialize(IWICBitmapFrameEncode *iface,
return hr;
}
else
memset(opt_values, sizeof(opt_values), 0);
memset(opt_values, 0, sizeof(opt_values));
if (V_VT(&opt_values[0]) == VT_EMPTY)
interlace = FALSE;
......
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