diff options
author | Max Kellermann <max@duempel.org> | 2008-10-31 15:56:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-31 15:56:43 +0100 |
commit | 78448fe1a517aa7734ae14a6959d3f7e0182308e (patch) | |
tree | b221a3953ee761305b318877ddd5efb42d5f44e4 /src/decoder/mp3_plugin.c | |
parent | 6d6e615825022647650df5cb88a05e3cd2dc42de (diff) | |
download | mpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.tar.gz mpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.tar.xz mpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.zip |
decoder_api: pass constant path pointers
Diffstat (limited to '')
-rw-r--r-- | src/decoder/mp3_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/mp3_plugin.c b/src/decoder/mp3_plugin.c index d95abc9ca..fe15568f1 100644 --- a/src/decoder/mp3_plugin.c +++ b/src/decoder/mp3_plugin.c @@ -791,7 +791,7 @@ static void mp3_data_finish(struct mp3_data *data) } /* this is primarily used for getting total time for tags */ -static int mp3_total_file_time(char *file) +static int mp3_total_file_time(const char *file) { struct input_stream input_stream; struct mp3_data data; @@ -1123,7 +1123,7 @@ mp3_decode(struct decoder *decoder, struct input_stream *input_stream) return true; } -static struct tag *mp3_tag_dup(char *file) +static struct tag *mp3_tag_dup(const char *file) { struct tag *ret = NULL; int total_time; |