summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShuang He <shuang.he@intel.com>2008-05-26 09:20:53 +0800
committerroot <root@debian-hp.(none)>2008-06-16 02:52:40 +0800
commit078d05865884ca5784b532c0a79c8440632002ac (patch)
tree70cf1d421d3f53fa285bab23d55333841b36fa2d
parent4c4ef27779aebf4df90b6233de05be2bb972de4c (diff)
Fix typo in xvmc block destroy
(cherry picked from commit 87ace420a34df7425641d089f71830e44fced098)
-rw-r--r--src/xvmc/intel_xvmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xvmc/intel_xvmc.c b/src/xvmc/intel_xvmc.c
index ae357aa5..0db3ca62 100644
--- a/src/xvmc/intel_xvmc.c
+++ b/src/xvmc/intel_xvmc.c
@@ -588,7 +588,7 @@ Status XvMCCreateBlocks(Display *display, XvMCContext *context,
*/
Status XvMCDestroyBlocks(Display *display, XvMCBlockArray *block)
{
- if (!display || block)
+ if (!display || !block)
return BadValue;
if (block->blocks)