Browse Source

avisynth: Cast to the right type when loading avisynth library functions

Fixes a number of related warnings.
tags/n3.4
Diego Biurrun 9 years ago
parent
commit
239d02eff3
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/avisynth.c

+ 2
- 1
libavformat/avisynth.c View File

@@ -127,7 +127,8 @@ static av_cold int avisynth_load_library(void)
return AVERROR_UNKNOWN;

#define LOAD_AVS_FUNC(name, continue_on_fail) \
avs_library.name = GetProcAddress(avs_library.library, #name); \
avs_library.name = (name ## _func) \
GetProcAddress(avs_library.library, #name); \
if (!continue_on_fail && !avs_library.name) \
goto fail;



Loading…
Cancel
Save