diff options
author | Austin Yuan <shengquan.yuan@gmail.com> | 2010-05-11 01:14:53 +0800 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@gmail.com> | 2010-05-11 01:14:53 +0800 |
commit | 9f1afd586b2923b3e694d6229508ab83b89d7758 (patch) | |
tree | ec2803079bb05ba1dba2a27024b8c6a6c1b9bcc5 /va/x11 | |
parent | 70074679333c236bca857a0242ae34442a4874f6 (diff) | |
download | libva-9f1afd586b2923b3e694d6229508ab83b89d7758.tar.gz |
global vaDisplayIsValidPO-ww20.2-videoPO-ww20.1-video
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Diffstat (limited to 'va/x11')
-rw-r--r-- | va/x11/va_x11.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/va/x11/va_x11.c b/va/x11/va_x11.c index 8aa922c..9a7135c 100644 --- a/va/x11/va_x11.c +++ b/va/x11/va_x11.c @@ -219,12 +219,6 @@ VADisplay vaGetDisplay ( #define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext) #define CHECK_DISPLAY(dpy) if( !vaDisplayIsValid(dpy) ) { return VA_STATUS_ERROR_INVALID_DISPLAY; } -static int vaDisplayIsValid(VADisplay dpy) -{ - VADisplayContextP pDisplayContext = (VADisplayContextP)dpy; - return pDisplayContext && (pDisplayContext->vadpy_magic == VA_DISPLAY_MAGIC) && pDisplayContext->vaIsValid(pDisplayContext); -} - VAStatus vaPutSurface ( VADisplay dpy, VASurfaceID surface, |