diff options
author | Shuang He <shuang.he@intel.com> | 2008-05-26 09:20:53 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-05-26 09:20:53 +0800 |
commit | 87ace420a34df7425641d089f71830e44fced098 (patch) | |
tree | 61470c1b13907aa360a1642df16490b1fabc9021 | |
parent | 288ef6585150f2a58d4c1723efae1a5a7a41772a (diff) |
Fix typo in xvmc block destroy
-rw-r--r-- | src/xvmc/intel_xvmc.c | 2 |
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) |