[g3dvl] ups missed this check
authorChristian König <deathsimple@vodafone.de>
Sun, 14 Nov 2010 19:35:02 +0000 (20:35 +0100)
committerChristian König <deathsimple@vodafone.de>
Sun, 14 Nov 2010 19:35:02 +0000 (20:35 +0100)
src/gallium/state_trackers/xorg/xvmc/context.c

index 5e4af9e555a5c7def8c60d2e94ad970b1dc3bf0f..4869aac3a2e771d6c1fe91ea2b3d3e15c308de52 100644 (file)
@@ -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;
    }