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/mpc_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/decoder/mpc_plugin.c') diff --git a/src/decoder/mpc_plugin.c b/src/decoder/mpc_plugin.c index 258947173..137c01afd 100644 --- a/src/decoder/mpc_plugin.c +++ b/src/decoder/mpc_plugin.c @@ -236,7 +236,7 @@ mpc_decode(struct decoder *mpd_decoder, struct input_stream *inStream) return true; } -static float mpcGetTime(char *file) +static float mpcGetTime(const char *file) { struct input_stream inStream; float total_time = -1; @@ -274,7 +274,7 @@ static float mpcGetTime(char *file) return total_time; } -static struct tag *mpcTagDup(char *file) +static struct tag *mpcTagDup(const char *file) { struct tag *ret = NULL; float total_time = mpcGetTime(file); -- cgit v1.2.3