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/aac_plugin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/decoder/aac_plugin.c') diff --git a/src/decoder/aac_plugin.c b/src/decoder/aac_plugin.c index 8ae061667..7e6b8c916 100644 --- a/src/decoder/aac_plugin.c +++ b/src/decoder/aac_plugin.c @@ -246,7 +246,7 @@ static void aac_parse_header(AacBuffer * b, float *length) } } -static float getAacFloatTotalTime(char *file) +static float getAacFloatTotalTime(const char *file) { AacBuffer b; float length; @@ -290,7 +290,7 @@ static float getAacFloatTotalTime(char *file) return length; } -static int getAacTotalTime(char *file) +static int getAacTotalTime(const char *file) { int file_time = -1; float length; @@ -435,7 +435,7 @@ aac_stream_decode(struct decoder *mpd_decoder, struct input_stream *inStream) static bool -aac_decode(struct decoder *mpd_decoder, char *path) +aac_decode(struct decoder *mpd_decoder, const char *path) { float file_time; float totalTime; @@ -569,7 +569,7 @@ aac_decode(struct decoder *mpd_decoder, char *path) return true; } -static struct tag *aacTagDup(char *file) +static struct tag *aacTagDup(const char *file) { struct tag *ret = NULL; int file_time = getAacTotalTime(file); -- cgit v1.2.3