summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c173265fc5..679733a555 100644
--- a/video/filter/vf_vapoursynth.c
+++ b/video/filter/vf_vapoursynth.c
@@ -367,7 +367,7 @@ static void vf_vapoursynth_process(struct mp_filter *f)
if (reinit_vs(p) < 0) {
MP_ERR(p, "could not init VS\n");
mp_frame_unref(&frame);
- return;
+ goto done;
}
}
if (p->out_pts == MP_NOPTS_VALUE)