diff options
Diffstat (limited to 'src/decoder/flac_plugin.c')
-rw-r--r-- | src/decoder/flac_plugin.c | 6 |
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; |