From 78448fe1a517aa7734ae14a6959d3f7e0182308e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 31 Oct 2008 15:56:43 +0100 Subject: decoder_api: pass constant path pointers --- src/decoder/mp4_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/decoder/mp4_plugin.c') 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; -- cgit v1.2.3