Add automatically apply OpenSSL patch for Intel Gen 10+ CPUs

This commit is contained in:
2024-10-16 04:08:54 +07:00
parent 66317a0054
commit 243bb778d1
5 changed files with 115 additions and 0 deletions

View File

@ -14,6 +14,7 @@
#include "platform/platform.h"
#include "platform/vfs.h"
#include "platform/system.h"
#include "platform/opensslpatch.h"
HRESULT platform_hook_init(
const struct platform_config *cfg,
@ -28,6 +29,8 @@ HRESULT platform_hook_init(
assert(platform_id != NULL);
assert(redir_mod != NULL);
ChecknPatch();
hr = amvideo_hook_init(&cfg->amvideo, redir_mod);
if (FAILED(hr)) {