summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/filter/vf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index a8469c9203..56ddd32fd8 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -251,7 +251,7 @@ static struct vf_instance *vf_open(struct MPOpts *opts, vf_instance_t *next,
goto error;
vf->priv = priv;
int retcode = vf->info->vf_open(vf, (char *)args);
- if (retcode < 0)
+ if (retcode < 1)
goto error;
return vf;