diff options
author | Christian König <[email protected]> | 2010-11-14 20:35:02 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2010-11-14 20:35:02 +0100 |
commit | 3cbe27a9888b94d1ab24b5e76ebd7563a7d8c6b8 (patch) | |
tree | 6a8a2c32b9669eb776517c778d8256db1d434152 /src | |
parent | 3886295a0cd1a51b1fa82fb076d826471d4697bb (diff) |
[g3dvl] ups missed this check
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/xorg/xvmc/context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xorg/xvmc/context.c b/src/gallium/state_trackers/xorg/xvmc/context.c index 5e4af9e555a..4869aac3a2e 100644 --- a/src/gallium/state_trackers/xorg/xvmc/context.c +++ b/src/gallium/state_trackers/xorg/xvmc/context.c @@ -213,8 +213,8 @@ Status XvMCCreateContext(Display *dpy, XvPortID port, int surface_type_id, XVMC_MSG(XVMC_ERR, "[XvMC] Cannot decode requested surface type. Non-MPEG2/Mocomp acceleration unsupported.\n"); return BadImplementation; } - if (!(surface_flags & XVMC_INTRA_UNSIGNED)) { - XVMC_MSG(XVMC_ERR, "[XvMC] Cannot decode requested surface type. Signed intra unsupported.\n"); + if (surface_flags & XVMC_INTRA_UNSIGNED) { + XVMC_MSG(XVMC_ERR, "[XvMC] Cannot decode requested surface type. Unsigned intra unsupported.\n"); return BadImplementation; } |