From 632443b24034cc9188ccead53e7f8261cf222d65 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Tue, 13 Apr 2010 04:54:11 +0200 Subject: [PATCH] VA/GLX cosmetics (indentation, declarations) --- va/glx/va_glx.c | 2 ++ va/va_backend.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/va/glx/va_glx.c b/va/glx/va_glx.c index 1812ef5..cd1275f 100644 --- a/va/glx/va_glx.c +++ b/va/glx/va_glx.c @@ -47,6 +47,8 @@ status = vtable->va##func##GLX args; \ } while (0) +// Check VADisplay is valid (from libva.so.*) +int vaDisplayIsValid(VADisplay dpy); // Destroy VA/GLX display context static void va_DisplayContextDestroy(VADisplayContextP pDisplayContext) diff --git a/va/va_backend.h b/va/va_backend.h index 9029fa6..62ac970 100644 --- a/va/va_backend.h +++ b/va/va_backend.h @@ -397,7 +397,7 @@ struct VADriverContext void *handle; /* dlopen handle */ void *dri_state; - void *glx; /* opaque for GLX code */ + void *glx; /* opaque for GLX code */ }; #define VA_DISPLAY_MAGIC 0x56414430 /* VAD0 */ -- 2.7.4