mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed init once return.
This commit is contained in:
@@ -613,6 +613,7 @@ static INIT_ONCE g_Initialized = INIT_ONCE_STATIC_INIT;
|
||||
static BOOL CALLBACK InitializeAvCodecs(PINIT_ONCE once, PVOID param, PVOID* context)
|
||||
{
|
||||
avcodec_register_all();
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#ifdef BUILTIN_CHANNELS
|
||||
|
||||
@@ -75,6 +75,7 @@ static BOOL CALLBACK InitializeSCardApiStubs(PINIT_ONCE once, PVOID param, PVOID
|
||||
#ifdef WITH_SMARTCARD_INSPECT
|
||||
g_SCardApi = Inspect_RegisterSCardApi(g_SCardApi);
|
||||
#endif
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
WINSCARDAPI LONG WINAPI SCardEstablishContext(DWORD dwScope,
|
||||
|
||||
Reference in New Issue
Block a user