Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Иван Мажукин
mpd
Commits
60a15562
Commit
60a15562
authored
Aug 26, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mp3: unsigned integers
parent
f667da1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
mp3_plugin.c
src/inputPlugins/mp3_plugin.c
+11
-11
No files found.
src/inputPlugins/mp3_plugin.c
View file @
60a15562
...
...
@@ -158,13 +158,13 @@ typedef struct _mp3DecodeData {
int
muteFrame
;
long
*
frameOffset
;
mad_timer_t
*
times
;
long
highestFrame
;
long
maxFrames
;
long
currentFrame
;
int
dropFramesAtStart
;
int
dropFramesAtEnd
;
int
dropSamplesAtStart
;
int
dropSamplesAtEnd
;
unsigned
long
highestFrame
;
unsigned
long
maxFrames
;
unsigned
long
currentFrame
;
unsigned
int
dropFramesAtStart
;
unsigned
int
dropFramesAtEnd
;
unsigned
int
dropSamplesAtStart
;
unsigned
int
dropSamplesAtEnd
;
int
foundXing
;
int
foundFirstFrame
;
int
decodedFirstFrame
;
...
...
@@ -839,9 +839,9 @@ static int openMp3FromInputStream(InputStream * inStream, mp3DecodeData * data,
static
int
mp3Read
(
mp3DecodeData
*
data
,
struct
decoder
*
decoder
,
ReplayGainInfo
**
replayGainInfo
)
{
int
samplesPerFrame
;
int
samplesLeft
;
int
i
;
unsigned
int
samplesPerFrame
;
unsigned
int
samplesLeft
;
unsigned
int
i
;
int
ret
;
int
skip
;
...
...
@@ -971,7 +971,7 @@ static int mp3Read(mp3DecodeData * data, struct decoder *decoder,
if
(
decoder_get_command
(
decoder
)
==
DECODE_COMMAND_SEEK
&&
data
->
inStream
->
seekable
)
{
long
j
=
0
;
unsigned
long
j
=
0
;
data
->
muteFrame
=
MUTEFRAME_SEEK
;
while
(
j
<
data
->
highestFrame
&&
decoder_seek_where
(
decoder
)
>
...
...
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