summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_sub.c')
-rw-r--r--video/filter/vf_sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_sub.c b/video/filter/vf_sub.c
index 49214685ef..a1f25efd6d 100644
--- a/video/filter/vf_sub.c
+++ b/video/filter/vf_sub.c
@@ -68,7 +68,7 @@ static int config(struct vf_instance *vf,
double dar = (double)d_width / d_height;
double sar = (double)width / height;
- vf_rescale_dsize(vf, &d_width, &d_height, width, height,
+ vf_rescale_dsize(&d_width, &d_height, width, height,
vf->priv->outw, vf->priv->outh);
vf->priv->dim = (struct mp_osd_res) {