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
38e3220f
Commit
38e3220f
authored
Jan 02, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oggflac: don't use gcc.h
Use G_GNUC_UNUSED instead of mpd_unused (which has already been removed).
parent
0c422838
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
oggflac_plugin.c
src/decoder/oggflac_plugin.c
+10
-9
No files found.
src/decoder/oggflac_plugin.c
View file @
38e3220f
...
...
@@ -22,6 +22,7 @@
#include "_flac_common.h"
#include "_ogg_common.h"
#include <glib.h>
#include <OggFLAC/seekable_stream_decoder.h>
#include <unistd.h>
...
...
@@ -34,7 +35,7 @@ static void oggflac_cleanup(FlacData * data,
OggFLAC__seekable_stream_decoder_delete
(
decoder
);
}
static
OggFLAC__SeekableStreamDecoderReadStatus
of_read_cb
(
mpd_unused
const
static
OggFLAC__SeekableStreamDecoderReadStatus
of_read_cb
(
G_GNUC_UNUSED
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
FLAC__byte
buf
[],
...
...
@@ -54,7 +55,7 @@ static OggFLAC__SeekableStreamDecoderReadStatus of_read_cb(mpd_unused const
return
OggFLAC__SEEKABLE_STREAM_DECODER_READ_STATUS_OK
;
}
static
OggFLAC__SeekableStreamDecoderSeekStatus
of_seek_cb
(
mpd_unused
const
static
OggFLAC__SeekableStreamDecoderSeekStatus
of_seek_cb
(
G_GNUC_UNUSED
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
FLAC__uint64
offset
,
...
...
@@ -68,7 +69,7 @@ static OggFLAC__SeekableStreamDecoderSeekStatus of_seek_cb(mpd_unused const
return
OggFLAC__SEEKABLE_STREAM_DECODER_SEEK_STATUS_OK
;
}
static
OggFLAC__SeekableStreamDecoderTellStatus
of_tell_cb
(
mpd_unused
const
static
OggFLAC__SeekableStreamDecoderTellStatus
of_tell_cb
(
G_GNUC_UNUSED
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
FLAC__uint64
*
...
...
@@ -81,7 +82,7 @@ static OggFLAC__SeekableStreamDecoderTellStatus of_tell_cb(mpd_unused const
return
OggFLAC__SEEKABLE_STREAM_DECODER_TELL_STATUS_OK
;
}
static
OggFLAC__SeekableStreamDecoderLengthStatus
of_length_cb
(
mpd_unused
const
static
OggFLAC__SeekableStreamDecoderLengthStatus
of_length_cb
(
G_GNUC_UNUSED
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
FLAC__uint64
*
...
...
@@ -98,7 +99,7 @@ static OggFLAC__SeekableStreamDecoderLengthStatus of_length_cb(mpd_unused const
return
OggFLAC__SEEKABLE_STREAM_DECODER_LENGTH_STATUS_OK
;
}
static
FLAC__bool
of_EOF_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
static
FLAC__bool
of_EOF_cb
(
G_GNUC_UNUSED
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
void
*
fdata
)
{
FlacData
*
data
=
(
FlacData
*
)
fdata
;
...
...
@@ -108,7 +109,7 @@ static FLAC__bool of_EOF_cb(mpd_unused const OggFLAC__SeekableStreamDecoder * de
input_stream_eof
(
data
->
inStream
);
}
static
void
of_error_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
static
void
of_error_cb
(
G_GNUC_UNUSED
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
FLAC__StreamDecoderErrorStatus
status
,
void
*
fdata
)
{
flac_error_common_cb
(
"oggflac"
,
status
,
(
FlacData
*
)
fdata
);
...
...
@@ -145,7 +146,7 @@ static void oggflacPrintErroredState(OggFLAC__SeekableStreamDecoderState state)
}
}
static
FLAC__StreamDecoderWriteStatus
oggflacWrite
(
mpd_unused
const
static
FLAC__StreamDecoderWriteStatus
oggflacWrite
(
G_GNUC_UNUSED
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
const
FLAC__Frame
*
frame
,
...
...
@@ -163,7 +164,7 @@ static FLAC__StreamDecoderWriteStatus oggflacWrite(mpd_unused const
}
/* used by TagDup */
static
void
of_metadata_dup_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
static
void
of_metadata_dup_cb
(
G_GNUC_UNUSED
const
OggFLAC__SeekableStreamDecoder
*
decoder
,
const
FLAC__StreamMetadata
*
block
,
void
*
vdata
)
{
FlacData
*
data
=
(
FlacData
*
)
vdata
;
...
...
@@ -184,7 +185,7 @@ static void of_metadata_dup_cb(mpd_unused const OggFLAC__SeekableStreamDecoder *
}
/* used by decode */
static
void
of_metadata_decode_cb
(
mpd_unused
const
OggFLAC__SeekableStreamDecoder
*
dec
,
static
void
of_metadata_decode_cb
(
G_GNUC_UNUSED
const
OggFLAC__SeekableStreamDecoder
*
dec
,
const
FLAC__StreamMetadata
*
block
,
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