summaryrefslogtreecommitdiffstats
path: root/video/decode/vdpau.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/vdpau.c')
-rw-r--r--video/decode/vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c
index 995b5460e8..34435360c3 100644
--- a/video/decode/vdpau.c
+++ b/video/decode/vdpau.c
@@ -206,7 +206,7 @@ static int probe(struct vd_lavc_hwdec *hwdec, struct mp_hwdec_info *info,
const struct vd_lavc_hwdec mp_vd_lavc_vdpau = {
.type = HWDEC_VDPAU,
- .image_formats = (const int[]) {IMGFMT_VDPAU, 0},
+ .image_format = IMGFMT_VDPAU,
.probe = probe,
.init = init,
.uninit = uninit,