Fixed init once return.
This commit is contained in:
parent
1a377ba978
commit
c586a300cf
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user