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
6dc12cdb
Commit
6dc12cdb
authored
Sep 14, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemp3.acm: Fix a couple of compiler warnings on Mac OS.
parent
5815b639
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mpegl3.c
dlls/winemp3.acm/mpegl3.c
+5
-5
No files found.
dlls/winemp3.acm/mpegl3.c
View file @
6dc12cdb
...
...
@@ -290,7 +290,7 @@ static const unsigned short Mp3SampleRates[2][4] =
typedef
struct
tagAcmMpeg3Data
{
LRESULT
(
*
convert
)(
PACMDRVSTREAMINSTANCE
adsi
,
const
unsigned
char
*
,
LRESULT
(
*
convert
)(
PACMDRVSTREAMINSTANCE
adsi
,
unsigned
char
*
,
LPDWORD
,
unsigned
char
*
,
LPDWORD
);
AudioConverterRef
acr
;
AudioStreamBasicDescription
in
,
out
;
...
...
@@ -395,7 +395,7 @@ static SInt32 Mp3GetPacketLength(const unsigned char* src)
and *nsrc to the length of the unwanted data and return no error.
*/
static
LRESULT
mp3_leopard_horse
(
PACMDRVSTREAMINSTANCE
adsi
,
const
unsigned
char
*
src
,
LPDWORD
nsrc
,
unsigned
char
*
src
,
LPDWORD
nsrc
,
unsigned
char
*
dst
,
LPDWORD
ndst
)
{
OSStatus
err
;
...
...
@@ -406,7 +406,7 @@ static LRESULT mp3_leopard_horse(PACMDRVSTREAMINSTANCE adsi,
TRACE
(
"ndst %u %p <- %u %p
\n
"
,
*
ndst
,
dst
,
*
nsrc
,
src
);
TRACE
(
"First 16 bytes to input: %s
\n
"
,
wine_dbgstr_an
(
src
,
16
));
TRACE
(
"First 16 bytes to input: %s
\n
"
,
wine_dbgstr_an
(
(
const
char
*
)
src
,
16
));
/* Parse ID3 tag */
if
(
!
memcmp
(
src
,
"ID3"
,
3
)
&&
amd
->
tagBytesLeft
==
-
1
)
...
...
@@ -429,7 +429,7 @@ static LRESULT mp3_leopard_horse(PACMDRVSTREAMINSTANCE adsi,
{
src
+=
amd
->
tagBytesLeft
;
*
nsrc
-=
amd
->
tagBytesLeft
;
TRACE
(
"Skipping %d for ID3 tag
\n
"
,
amd
->
tagBytesLeft
);
TRACE
(
"Skipping %
l
d for ID3 tag
\n
"
,
amd
->
tagBytesLeft
);
}
/*
...
...
@@ -460,7 +460,7 @@ static LRESULT mp3_leopard_horse(PACMDRVSTREAMINSTANCE adsi,
syncSkip
=
psrc
-
src
;
src
+=
syncSkip
;
*
nsrc
-=
syncSkip
;
TRACE
(
"Skipping %d for frame sync
\n
"
,
syncSkip
);
TRACE
(
"Skipping %
l
d for frame sync
\n
"
,
syncSkip
);
}
break
;
}
...
...
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