diff options
Diffstat (limited to 'video/filter/vf_dlopen.c')
-rw-r--r-- | video/filter/vf_dlopen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/filter/vf_dlopen.c b/video/filter/vf_dlopen.c index 4eefec150c..70c2c6cf24 100644 --- a/video/filter/vf_dlopen.c +++ b/video/filter/vf_dlopen.c @@ -225,6 +225,9 @@ static int filter(struct vf_instance *vf, struct mp_image *mpi) { int i, k; + if (!mpi) + return 0; + set_imgprop(&vf->priv->filter.inpic, mpi); if (mpi->qscale) { if (mpi->qscale_type != 0) { |