summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf_vapoursynth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c
index 8ae8add8b3..5afee78b17 100644
--- a/video/filter/vf_vapoursynth.c
+++ b/video/filter/vf_vapoursynth.c
@@ -745,7 +745,7 @@ static int drv_vss_load_core(struct vf_instance *vf)
// First load an empty script to get a VSScript, so that we get the vsapi
// and vscore.
- if (vsscript_evaluateScript(&p->se, "", NULL, 0))
+ if (vsscript_createScript(&p->se))
return -1;
p->vsapi = vsscript_getVSApi();
p->vscore = vsscript_getCore(p->se);