From 1b8f10f54af115e5c8a103282d9c8e6066709161 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Tue, 8 Jun 2021 10:28:10 -0500 Subject: vo_rpi: fix argument name This is data not arg. --- video/out/vo_rpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c index 8d921e83e3..bc5babb33f 100644 --- a/video/out/vo_rpi.c +++ b/video/out/vo_rpi.c @@ -749,8 +749,8 @@ static int control(struct vo *vo, uint32_t request, void *data) *(double *)data = p->display_fps; return VO_TRUE; case VOCTRL_GET_DISPLAY_RES: - ((int *)arg)[0] = p->w; - ((int *)arg)[1] = p->h; + ((int *)data)[0] = p->w; + ((int *)data)[1] = p->h; return VO_TRUE; } -- cgit v1.2.3