[FFmpeg-cvslog] compat/avisynth: Fix unicode compilation.

Matt Oliver git at videolan.org
Wed Jan 1 18:09:00 EET 2020


ffmpeg | branch: master | Matt Oliver <protogonoi at gmail.com> | Tue Dec 31 03:00:40 2019 +1100| [1fd8929450a6d701620caf60f39d997cccc4001b] | committer: Michael Niedermayer

compat/avisynth: Fix unicode compilation.

Reviewed-by: Stephen Hutchinson <qyot27 at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1fd8929450a6d701620caf60f39d997cccc4001b
---

 compat/avisynth/avisynth_c.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compat/avisynth/avisynth_c.h b/compat/avisynth/avisynth_c.h
index 8d17125adc..9ff9321552 100644
--- a/compat/avisynth/avisynth_c.h
+++ b/compat/avisynth/avisynth_c.h
@@ -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;
 



More information about the ffmpeg-cvslog mailing list