msvidc32: Guard old code by #ifdef instead of plain #if.

This commit is contained in:
Gerald Pfeifer 2009-11-20 23:13:16 +01:00 committed by Alexandre Julliard
parent aa7cedc895
commit a15f283c7d

View file

@ -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) +