audin: Fix possible crash in winmm backend

This commit is contained in:
Martin Fleisz
2020-01-15 11:23:59 +01:00
committed by akallabeth
parent 9099682f71
commit 53f7927bf3

View File

@@ -466,7 +466,7 @@ UINT freerdp_audin_client_subsystem_entry(PFREERDP_AUDIN_DEVICE_ENTRY_POINTS pEn
if (waveInGetNumDevs() == 0)
{
WLog_Print(winmm->log, WLOG_ERROR, "No microphone available!");
WLog_Print(WLog_Get(TAG), WLOG_ERROR, "No microphone available!");
return ERROR_DEVICE_NOT_AVAILABLE;
}