meson: Fix compliation with avisynth enabled

Still crashes when loading a video.
This commit is contained in:
arch1t3cht 2022-07-03 17:49:46 +02:00
parent 5bde34ff3e
commit fdcb0ee75f
2 changed files with 2 additions and 0 deletions

View file

@ -222,6 +222,7 @@ endforeach
if host_machine.system() == 'windows' and get_option('avisynth').enabled()
conf.set('WITH_AVISYNTH', 1) # bundled separately with installer
deps += cc.find_library('avifil32', required: true)
endif
if host_machine.system() == 'windows' and not get_option('directsound').disabled()

View file

@ -174,6 +174,7 @@ elif host_machine.system() == 'windows'
'avisynth_wrap.cpp',
'font_file_lister_gdi.cpp',
# 'libass_gdi_fontselect.cpp',
'audio_provider_avs.cpp',
'video_provider_avs.cpp',
)