aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mp4_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/mp4_plugin.c
parent6d6e615825022647650df5cb88a05e3cd2dc42de (diff)
downloadmpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.tar.gz
mpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.tar.xz
mpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.zip
decoder_api: pass constant path pointers
Diffstat (limited to 'src/decoder/mp4_plugin.c')
-rw-r--r--src/decoder/mp4_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/mp4_plugin.c b/src/decoder/mp4_plugin.c
index 760b8871b..8fe2b18f8 100644
--- a/src/decoder/mp4_plugin.c
+++ b/src/decoder/mp4_plugin.c
@@ -301,7 +301,7 @@ mp4_decode(struct decoder *mpd_decoder, struct input_stream *inStream)
return true;
}
-static struct tag *mp4DataDup(char *file, int *mp4MetadataFound)
+static struct tag *mp4DataDup(const char *file, int *mp4MetadataFound)
{
struct tag *ret = NULL;
struct input_stream inStream;
@@ -390,7 +390,7 @@ static struct tag *mp4DataDup(char *file, int *mp4MetadataFound)
return ret;
}
-static struct tag *mp4TagDup(char *file)
+static struct tag *mp4TagDup(const char *file)
{
struct tag *ret = NULL;
int mp4MetadataFound = 0;