libfreerdp-codec/rfx: dwSize must be initialized.
This commit is contained in:
parent
9dbc240f68
commit
b194ddc211
@ -196,6 +196,8 @@ RFX_CONTEXT* rfx_context_new(void)
|
||||
|
||||
if (status == ERROR_SUCCESS)
|
||||
{
|
||||
dwSize = sizeof(dwValue);
|
||||
|
||||
if (RegQueryValueEx(hKey, _T("UseThreads"), NULL, &dwType, (BYTE*) &dwValue, &dwSize) == ERROR_SUCCESS)
|
||||
context->priv->UseThreads = dwValue ? 1 : 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user