aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/aac_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/aac_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/aac_plugin.c')
-rw-r--r--src/decoder/aac_plugin.c8
1 files changed, 4 insertions, 4 deletions
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);