summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 3a6df1195a..3d6a3f0ca9 100644
--- a/libvo/vo_vdpau.c
+++ b/libvo/vo_vdpau.c
@@ -936,8 +936,10 @@ static uint32_t get_image(mp_image_t *mpi)
struct vdpau_render_state *rndr;
// no dr for non-decoding for now
- if (!IMGFMT_IS_VDPAU(image_format)) return VO_FALSE;
- if (mpi->type != MP_IMGTYPE_NUMBERED) return VO_FALSE;
+ if (!IMGFMT_IS_VDPAU(image_format))
+ return VO_FALSE;
+ if (mpi->type != MP_IMGTYPE_NUMBERED)
+ return VO_FALSE;
rndr = get_surface(mpi->number);
if (!rndr) {