Skip to content

Commit

Permalink
Use the correct avs 2.6+ entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
myrsloik committed Jul 31, 2024
1 parent 7ec12a5 commit 2f8b615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fieldhint/fieldhint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ AVSValue __cdecl Create_FieldHint(AVSValue args, void* user_data, IScriptEnviron

const AVS_Linkage *AVS_linkage = nullptr;

extern "C" __declspec(dllexport) const char* __stdcall AvisynthPluginInit2(IScriptEnvironment* env)
extern "C" __declspec(dllexport) const char* __stdcall AvisynthPluginInit3(IScriptEnvironment* env)
{
AVS_linkage = env->GetAVSLinkage();
env->AddFunction("FieldHint", "c[ovr]s[show]b", Create_FieldHint, 0);
Expand Down

0 comments on commit 2f8b615

Please sign in to comment.