summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShuang He <shuang.he@intel.com>2008-05-26 09:20:53 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-05-26 09:20:53 +0800
commit87ace420a34df7425641d089f71830e44fced098 (patch)
tree61470c1b13907aa360a1642df16490b1fabc9021
parent288ef6585150f2a58d4c1723efae1a5a7a41772a (diff)
Fix typo in xvmc block destroy
-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 1be8cc6b..3c14f739 100644
--- a/src/xvmc/intel_xvmc.c
+++ b/src/xvmc/intel_xvmc.c
@@ -513,7 +513,7 @@ Status XvMCCreateBlocks(Display *display, XvMCContext *context,
*/
Status XvMCDestroyBlocks(Display *display, XvMCBlockArray *block)
{
- if (!display || block)
+ if (!display || !block)
return BadValue;
if (block->blocks)