Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b2862891
Commit
b2862891
authored
Feb 02, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemp3.acm: Remove unneeded casts.
parent
336c000d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
interface.c
dlls/winemp3.acm/interface.c
+3
-3
layer2.c
dlls/winemp3.acm/layer2.c
+2
-2
No files found.
dlls/winemp3.acm/interface.c
View file @
b2862891
...
...
@@ -204,13 +204,13 @@ int decodeMP3(struct mpstr *mp,const unsigned char *in,int isize,unsigned char *
getbits
(
16
);
switch
(
mp
->
fr
.
lay
)
{
case
1
:
do_layer1
(
&
mp
->
fr
,
(
unsigned
char
*
)
out
,
done
);
do_layer1
(
&
mp
->
fr
,
out
,
done
);
break
;
case
2
:
do_layer2
(
&
mp
->
fr
,
(
unsigned
char
*
)
out
,
done
);
do_layer2
(
&
mp
->
fr
,
out
,
done
);
break
;
case
3
:
do_layer3
(
&
mp
->
fr
,
(
unsigned
char
*
)
out
,
done
);
do_layer3
(
&
mp
->
fr
,
out
,
done
);
break
;
}
...
...
dlls/winemp3.acm/layer2.c
View file @
b2862891
...
...
@@ -174,7 +174,7 @@ static void II_step_two(unsigned int *bit_alloc, real fraction[2][4][SBLIMIT],
{
static
int
*
table
[]
=
{
0
,
0
,
0
,
grp_3tab
,
0
,
grp_5tab
,
0
,
0
,
0
,
grp_9tab
};
unsigned
int
idx
,
*
tab
,
m
=
scale
[
x1
];
idx
=
(
unsigned
int
)
getbits
(
k
);
idx
=
getbits
(
k
);
tab
=
(
unsigned
int
*
)
(
table
[
d1
]
+
idx
+
idx
+
idx
);
fraction
[
j
][
0
][
i
]
=
muls
[
*
tab
++
][
m
];
fraction
[
j
][
1
][
i
]
=
muls
[
*
tab
++
][
m
];
...
...
@@ -209,7 +209,7 @@ static void II_step_two(unsigned int *bit_alloc, real fraction[2][4][SBLIMIT],
static
int
*
table
[]
=
{
0
,
0
,
0
,
grp_3tab
,
0
,
grp_5tab
,
0
,
0
,
0
,
grp_9tab
};
unsigned
int
idx
,
*
tab
,
m1
,
m2
;
m1
=
scale
[
x1
];
m2
=
scale
[
x1
+
3
];
idx
=
(
unsigned
int
)
getbits
(
k
);
idx
=
getbits
(
k
);
tab
=
(
unsigned
int
*
)
(
table
[
d1
]
+
idx
+
idx
+
idx
);
fraction
[
0
][
0
][
i
]
=
muls
[
*
tab
][
m1
];
fraction
[
1
][
0
][
i
]
=
muls
[
*
tab
++
][
m2
];
fraction
[
0
][
1
][
i
]
=
muls
[
*
tab
][
m1
];
fraction
[
1
][
1
][
i
]
=
muls
[
*
tab
++
][
m2
];
...
...
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