summaryrefslogtreecommitdiffstats
path: root/libvo/vo_vdpau.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_vdpau.c')
-rw-r--r--libvo/vo_vdpau.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c
index 36190bb11a..b06fe319fa 100644
--- a/libvo/vo_vdpau.c
+++ b/libvo/vo_vdpau.c
@@ -1076,8 +1076,10 @@ static int control(uint32_t request, void *data, ...)
r->h = vo_screenheight;
r->ml = r->mr = border_x;
r->mt = r->mb = border_y;
- } else
- r->w = vo_dwidth; r->h = vo_dheight;
+ } else {
+ r->w = vo_dwidth;
+ r->h = vo_dheight;
+ }
return VO_TRUE;
}
}