diff options
author | Dudemanguy <random342@airmail.cc> | 2021-06-08 10:28:10 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-06-08 10:28:10 -0500 |
commit | 1b8f10f54af115e5c8a103282d9c8e6066709161 (patch) | |
tree | 08f15e5b5b5a8a73ffe1f1d1ae2796b90c675869 | |
parent | 0043c7d9ee90d3d763a05fa61d473d28dd8a09b2 (diff) | |
download | mpv-1b8f10f54af115e5c8a103282d9c8e6066709161.tar.bz2 mpv-1b8f10f54af115e5c8a103282d9c8e6066709161.tar.xz |
vo_rpi: fix argument name
This is data not arg.
-rw-r--r-- | video/out/vo_rpi.c | 4 |
1 files 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; } |