compat/avisynth: Fix unicode compilation.
authorMatt Oliver <protogonoi@gmail.com>
Mon, 30 Dec 2019 16:00:40 +0000 (03:00 +1100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 Jan 2020 15:38:28 +0000 (16:38 +0100)
Reviewed-by: Stephen Hutchinson <qyot27@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
compat/avisynth/avisynth_c.h

index 8d17125..9ff9321 100644 (file)
@@ -1096,7 +1096,7 @@ AVSC_INLINE AVS_Library * avs_load_library() {
   AVS_Library *library = (AVS_Library *)malloc(sizeof(AVS_Library));
   if (library == NULL)
     return NULL;
-  library->handle = LoadLibrary("avisynth");
+  library->handle = LoadLibraryA("avisynth");
   if (library->handle == NULL)
     goto fail;