diff options
Diffstat (limited to 'video/vaapi.c')
-rw-r--r-- | video/vaapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/vaapi.c b/video/vaapi.c index bee24c1e72..08248a7388 100644 --- a/video/vaapi.c +++ b/video/vaapi.c @@ -226,7 +226,7 @@ static void drm_create(VADisplay **out_display, void **out_native_ctx, struct va_native_display_drm *ctx = talloc_ptrtype(NULL, ctx); ctx->drm_fd = drm_fd; *out_display = vaGetDisplayDRM(drm_fd); - if (out_display) { + if (*out_display) { *out_native_ctx = ctx; return; } |