Skip to content

Commit

Permalink
Fix AvisynthPluginInit3 x86 call convention
Browse files Browse the repository at this point in the history
See #1.
  • Loading branch information
magiblot committed Apr 26, 2022
1 parent 8c3225d commit 56bdcc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/avs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ AVSValue __cdecl GradationFilter::Create(AVSValue args, void *, IScriptEnvironme

const AVS_Linkage *AVS_linkage = 0;

extern "C" EXPORT const char* __cdecl AvisynthPluginInit3(IScriptEnvironment* env, AVS_Linkage* vectors)
extern "C" EXPORT const char* __stdcall AvisynthPluginInit3(IScriptEnvironment* env, AVS_Linkage* vectors)
{
AVS_linkage = vectors;
GradationFilter::Register(env);
Expand Down

0 comments on commit 56bdcc7

Please sign in to comment.