Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a15f283c
Commit
a15f283c
authored
Nov 20, 2009
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Nov 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvidc32: Guard old code by #ifdef instead of plain #if.
parent
aa7cedc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
msvideo1.c
dlls/msvidc32/msvideo1.c
+3
-3
No files found.
dlls/msvidc32/msvideo1.c
View file @
a15f283c
...
...
@@ -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
#if
def
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
#if
def
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
#if
def
ORIGINAL
pixels
[
pixel_ptr
++
]
=
colors
[
0
];
#else
pixels
[
width
*
(
height
-
(
pixel_ptr
/
width
)
-
1
)
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment