From: Gwenole Beauchesne Date: Tue, 13 Apr 2010 02:54:11 +0000 (+0200) Subject: VA/GLX cosmetics (indentation, declarations) X-Git-Tag: libva-1.0.3~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F609%2F1;p=profile%2Fivi%2Flibva.git VA/GLX cosmetics (indentation, declarations) --- 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 */