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
d8ad109e
Commit
d8ad109e
authored
Aug 29, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oggflac: fix GCC warnings
Fix lots of "unused parameter" warnings in the OggFLAC decoder plugin. Not sure if anybody uses it anymore, since newer libflac obsoletes it.
parent
01f9684f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
oggflac_plugin.c
src/inputPlugins/oggflac_plugin.c
+9
-9
No files found.
src/inputPlugins/oggflac_plugin.c
View file @
d8ad109e
...
@@ -39,7 +39,7 @@ static void oggflac_cleanup(FlacData * data,
...
@@ -39,7 +39,7 @@ static void oggflac_cleanup(FlacData * data,
OggFLAC__seekable_stream_decoder_delete
(
decoder
);
OggFLAC__seekable_stream_decoder_delete
(
decoder
);
}
}
static
OggFLAC__SeekableStreamDecoderReadStatus
of_read_cb
(
const
static
OggFLAC__SeekableStreamDecoderReadStatus
of_read_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
OggFLAC__SeekableStreamDecoder
*
decoder
,
*
decoder
,
FLAC__byte
buf
[],
FLAC__byte
buf
[],
...
@@ -59,7 +59,7 @@ static OggFLAC__SeekableStreamDecoderReadStatus of_read_cb(const
...
@@ -59,7 +59,7 @@ static OggFLAC__SeekableStreamDecoderReadStatus of_read_cb(const
return
OggFLAC__SEEKABLE_STREAM_DECODER_READ_STATUS_OK
;
return
OggFLAC__SEEKABLE_STREAM_DECODER_READ_STATUS_OK
;
}
}
static
OggFLAC__SeekableStreamDecoderSeekStatus
of_seek_cb
(
const
static
OggFLAC__SeekableStreamDecoderSeekStatus
of_seek_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
OggFLAC__SeekableStreamDecoder
*
decoder
,
*
decoder
,
FLAC__uint64
offset
,
FLAC__uint64
offset
,
...
@@ -74,7 +74,7 @@ static OggFLAC__SeekableStreamDecoderSeekStatus of_seek_cb(const
...
@@ -74,7 +74,7 @@ static OggFLAC__SeekableStreamDecoderSeekStatus of_seek_cb(const
return
OggFLAC__SEEKABLE_STREAM_DECODER_SEEK_STATUS_OK
;
return
OggFLAC__SEEKABLE_STREAM_DECODER_SEEK_STATUS_OK
;
}
}
static
OggFLAC__SeekableStreamDecoderTellStatus
of_tell_cb
(
const
static
OggFLAC__SeekableStreamDecoderTellStatus
of_tell_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
OggFLAC__SeekableStreamDecoder
*
decoder
,
*
decoder
,
FLAC__uint64
*
FLAC__uint64
*
...
@@ -87,7 +87,7 @@ static OggFLAC__SeekableStreamDecoderTellStatus of_tell_cb(const
...
@@ -87,7 +87,7 @@ static OggFLAC__SeekableStreamDecoderTellStatus of_tell_cb(const
return
OggFLAC__SEEKABLE_STREAM_DECODER_TELL_STATUS_OK
;
return
OggFLAC__SEEKABLE_STREAM_DECODER_TELL_STATUS_OK
;
}
}
static
OggFLAC__SeekableStreamDecoderLengthStatus
of_length_cb
(
const
static
OggFLAC__SeekableStreamDecoderLengthStatus
of_length_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
OggFLAC__SeekableStreamDecoder
*
decoder
,
*
decoder
,
FLAC__uint64
*
FLAC__uint64
*
...
@@ -101,7 +101,7 @@ static OggFLAC__SeekableStreamDecoderLengthStatus of_length_cb(const
...
@@ -101,7 +101,7 @@ static OggFLAC__SeekableStreamDecoderLengthStatus of_length_cb(const
return
OggFLAC__SEEKABLE_STREAM_DECODER_LENGTH_STATUS_OK
;
return
OggFLAC__SEEKABLE_STREAM_DECODER_LENGTH_STATUS_OK
;
}
}
static
FLAC__bool
of_EOF_cb
(
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
static
FLAC__bool
of_EOF_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
void
*
fdata
)
void
*
fdata
)
{
{
FlacData
*
data
=
(
FlacData
*
)
fdata
;
FlacData
*
data
=
(
FlacData
*
)
fdata
;
...
@@ -111,7 +111,7 @@ static FLAC__bool of_EOF_cb(const OggFLAC__SeekableStreamDecoder * decoder,
...
@@ -111,7 +111,7 @@ static FLAC__bool of_EOF_cb(const OggFLAC__SeekableStreamDecoder * decoder,
inputStreamAtEOF
(
data
->
inStream
);
inputStreamAtEOF
(
data
->
inStream
);
}
}
static
void
of_error_cb
(
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
static
void
of_error_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
FLAC__StreamDecoderErrorStatus
status
,
void
*
fdata
)
FLAC__StreamDecoderErrorStatus
status
,
void
*
fdata
)
{
{
flac_error_common_cb
(
"oggflac"
,
status
,
(
FlacData
*
)
fdata
);
flac_error_common_cb
(
"oggflac"
,
status
,
(
FlacData
*
)
fdata
);
...
@@ -148,7 +148,7 @@ static void oggflacPrintErroredState(OggFLAC__SeekableStreamDecoderState state)
...
@@ -148,7 +148,7 @@ static void oggflacPrintErroredState(OggFLAC__SeekableStreamDecoderState state)
}
}
}
}
static
FLAC__StreamDecoderWriteStatus
oggflacWrite
(
const
static
FLAC__StreamDecoderWriteStatus
oggflacWrite
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
OggFLAC__SeekableStreamDecoder
*
decoder
,
*
decoder
,
const
FLAC__Frame
*
frame
,
const
FLAC__Frame
*
frame
,
...
@@ -204,7 +204,7 @@ static FLAC__StreamDecoderWriteStatus oggflacWrite(const
...
@@ -204,7 +204,7 @@ static FLAC__StreamDecoderWriteStatus oggflacWrite(const
}
}
/* used by TagDup */
/* used by TagDup */
static
void
of_metadata_dup_cb
(
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
static
void
of_metadata_dup_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
const
FLAC__StreamMetadata
*
block
,
void
*
vdata
)
const
FLAC__StreamMetadata
*
block
,
void
*
vdata
)
{
{
FlacData
*
data
=
(
FlacData
*
)
vdata
;
FlacData
*
data
=
(
FlacData
*
)
vdata
;
...
@@ -225,7 +225,7 @@ static void of_metadata_dup_cb(const OggFLAC__SeekableStreamDecoder * decoder,
...
@@ -225,7 +225,7 @@ static void of_metadata_dup_cb(const OggFLAC__SeekableStreamDecoder * decoder,
}
}
/* used by decode */
/* used by decode */
static
void
of_metadata_decode_cb
(
const
OggFLAC__SeekableStreamDecoder
*
dec
,
static
void
of_metadata_decode_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
*
dec
,
const
FLAC__StreamMetadata
*
block
,
const
FLAC__StreamMetadata
*
block
,
void
*
vdata
)
void
*
vdata
)
{
{
...
...
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