Gerald Pfeifer : msvidc32: Guard old code by #ifdef instead of plain #if.
Alexandre Julliard
julliard at winehq.org
Mon Nov 23 08:49:49 CST 2009
Module: wine
Branch: master
Commit: a15f283c7d41b8b2e8c5e4009e27b3e2dbbc19d6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a15f283c7d41b8b2e8c5e4009e27b3e2dbbc19d6
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Fri Nov 20 23:13:16 2009 +0100
msvidc32: Guard old code by #ifdef instead of plain #if.
---
dlls/msvidc32/msvideo1.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvidc32/msvideo1.c b/dlls/msvidc32/msvideo1.c
index ab51e4c..3052964 100644
--- a/dlls/msvidc32/msvideo1.c
+++ b/dlls/msvidc32/msvideo1.c
@@ -132,7 +132,7 @@ msvideo1_decode_8bit( int width, int height, const unsigned char *buf, int buf_s
for (pixel_y = 0; pixel_y < 4; pixel_y++) {
for (pixel_x = 0; pixel_x < 4; pixel_x++, flags >>= 1)
{
-#if ORIGINAL
+#ifdef ORIGINAL
pixels[pixel_ptr++] = colors[(flags & 0x1) ^ 1];
#else
pixels[width*(height-(pixel_ptr/width)-1) +
@@ -154,7 +154,7 @@ msvideo1_decode_8bit( int width, int height, const unsigned char *buf, int buf_s
for (pixel_y = 0; pixel_y < 4; pixel_y++) {
for (pixel_x = 0; pixel_x < 4; pixel_x++, flags >>= 1)
{
-#if ORIGINAL
+#ifdef ORIGINAL
pixels[pixel_ptr++] =
colors[((pixel_y & 0x2) << 1) +
(pixel_x & 0x2) + ((flags & 0x1) ^ 1)];
@@ -175,7 +175,7 @@ msvideo1_decode_8bit( int width, int height, const unsigned char *buf, int buf_s
for (pixel_y = 0; pixel_y < 4; pixel_y++) {
for (pixel_x = 0; pixel_x < 4; pixel_x++)
{
-#if ORIGINAL
+#ifdef ORIGINAL
pixels[pixel_ptr++] = colors[0];
#else
pixels[width*(height-(pixel_ptr/width)-1) +
More information about the wine-cvs
mailing list