summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/decode/vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vaapi.c b/video/decode/vaapi.c
index 0e88b86c76..19395f6e09 100644
--- a/video/decode/vaapi.c
+++ b/video/decode/vaapi.c
@@ -129,7 +129,7 @@ static int find_entrypoint(int format, VAEntrypoint *ep, int num_ep)
static int is_direct_mapping(VADisplay display)
{
- VADisplayAttribute attr;
+ VADisplayAttribute attr = {0};
VAStatus status;
#if VA_CHECK_VERSION(0,34,0)