summaryrefslogtreecommitdiffstats
path: root/video/decode/vda.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/vda.c')
-rw-r--r--video/decode/vda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vda.c b/video/decode/vda.c
index 91d96f191c..6ac34aed89 100644
--- a/video/decode/vda.c
+++ b/video/decode/vda.c
@@ -214,7 +214,7 @@ static struct mp_image *allocate_image(struct lavc_ctx *ctx, int fmt,
const struct vd_lavc_hwdec mp_vd_lavc_vda = {
.type = HWDEC_VDA,
- .image_formats = (const int[]) { IMGFMT_VDA, 0 },
+ .image_format = IMGFMT_VDA,
.probe = probe,
.init = init,
.uninit = uninit,