aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/flac_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-31 15:56:43 +0100
committerMax Kellermann <max@duempel.org>2008-10-31 15:56:43 +0100
commit78448fe1a517aa7734ae14a6959d3f7e0182308e (patch)
treeb221a3953ee761305b318877ddd5efb42d5f44e4 /src/decoder/flac_plugin.c
parent6d6e615825022647650df5cb88a05e3cd2dc42de (diff)
downloadmpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.tar.gz
mpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.tar.xz
mpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.zip
decoder_api: pass constant path pointers
Diffstat (limited to '')
-rw-r--r--src/decoder/flac_plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decoder/flac_plugin.c b/src/decoder/flac_plugin.c
index a4ccd6ebb..0c4869428 100644
--- a/src/decoder/flac_plugin.c
+++ b/src/decoder/flac_plugin.c
@@ -220,7 +220,7 @@ static FLAC__StreamDecoderWriteStatus flacWrite(const flac_decoder *dec,
}
static struct tag *
-flacMetadataDup(char *file, bool *vorbisCommentFound)
+flacMetadataDup(const char *file, bool *vorbisCommentFound)
{
struct tag *ret = NULL;
FLAC__Metadata_SimpleIterator *it;
@@ -278,7 +278,7 @@ flacMetadataDup(char *file, bool *vorbisCommentFound)
return ret;
}
-static struct tag *flacTagDup(char *file)
+static struct tag *flacTagDup(const char *file)
{
struct tag *ret = NULL;
bool foundVorbisComment = false;
@@ -386,7 +386,7 @@ flac_decode(struct decoder * decoder, struct input_stream *inStream)
#if defined(FLAC_API_VERSION_CURRENT) && FLAC_API_VERSION_CURRENT > 7 && \
!defined(HAVE_OGGFLAC)
-static struct tag *oggflac_tag_dup(char *file)
+static struct tag *oggflac_tag_dup(const char *file)
{
struct tag *ret = NULL;
FLAC__Metadata_Iterator *it;