summaryrefslogtreecommitdiffstats
path: root/video/decode/vaapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/vaapi.c')
-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 d7ee5b35dc..3fba49be12 100644
--- a/video/decode/vaapi.c
+++ b/video/decode/vaapi.c
@@ -283,7 +283,7 @@ static int create_decoder(struct lavc_ctx *ctx)
if (!check_va_status(status, "vaQueryConfigEntrypoints()"))
goto error;
- VAEntrypoint entrypoint = find_entrypoint(p->format, ep, num_ep);
+ int entrypoint = find_entrypoint(p->format, ep, num_ep);
if (entrypoint < 0) {
mp_msg(MSGT_VO, MSGL_ERR, "[vaapi] Could not find VA entrypoint.\n");
goto error;