Fixed init once return.

This commit is contained in:
Armin Novak 2018-02-07 13:13:02 +01:00
parent 1a377ba978
commit c586a300cf
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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,