summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_rotate.c')
-rw-r--r--video/filter/vf_rotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_rotate.c b/video/filter/vf_rotate.c
index 1d80725ba3..9cdbafd94d 100644
--- a/video/filter/vf_rotate.c
+++ b/video/filter/vf_rotate.c
@@ -77,7 +77,7 @@ static int config(struct vf_instance *vf, int width, int height,
struct mp_imgfmt_desc desc = mp_imgfmt_get_desc(outfmt);
int a_w = MP_ALIGN_DOWN(width, desc.align_x);
int a_h = MP_ALIGN_DOWN(height, desc.align_y);
- vf_rescale_dsize(vf, &d_width, &d_height, width, height, a_w, a_h);
+ vf_rescale_dsize(&d_width, &d_height, width, height, a_w, a_h);
return vf_next_config(vf, a_h, a_w, d_height, d_width, flags, outfmt);
}