summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_expand.c')
-rw-r--r--video/filter/vf_expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_expand.c b/video/filter/vf_expand.c
index ff84d7670c..efe3f9dbb3 100644
--- a/video/filter/vf_expand.c
+++ b/video/filter/vf_expand.c
@@ -101,7 +101,7 @@ static int config(struct vf_instance *vf,
vf->priv->exp_x = MP_ALIGN_DOWN(vf->priv->exp_x, fmt.align_x);
vf->priv->exp_y = MP_ALIGN_DOWN(vf->priv->exp_y, fmt.align_y);
- vf_rescale_dsize(vf, &d_width, &d_height, width, height,
+ vf_rescale_dsize(&d_width, &d_height, width, height,
vf->priv->exp_w, vf->priv->exp_h);
return vf_next_config(vf,vf->priv->exp_w,vf->priv->exp_h,d_width,d_height,flags,outfmt);