compat/avisynth: Fix unicode compilation.

Reviewed-by: Stephen Hutchinson <qyot27@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Matt Oliver 2019-12-31 03:00:40 +11:00 committed by Michael Niedermayer
parent d4d6280ab2
commit 1fd8929450

View 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;