Merge commit '800d91d348c89fc8ca3fbec7696ab1ec8787acc6'
[ffmpeg.git] / libavformat / avisynth.c
index 514cb99..6d47571 100644 (file)
@@ -119,8 +119,7 @@ static av_cold int avisynth_load_library(void)
         return AVERROR_UNKNOWN;
 
 #define LOAD_AVS_FUNC(name, continue_on_fail)                          \
-        avs_library.name =                                             \
-            (void *)dlsym(avs_library.library, #name);                 \
+        avs_library.name = dlsym(avs_library.library, #name);          \
         if (!continue_on_fail && !avs_library.name)                    \
             goto fail;