decoder_api: pass constant path pointers

This commit is contained in:
Max Kellermann
2008-10-31 15:56:43 +01:00
parent 6d6e615825
commit 78448fe1a5
12 changed files with 43 additions and 29 deletions

View File

@@ -325,7 +325,7 @@ static bool ffmpeg_tag_internal(BasePtrs *base)
}
//no tag reading in ffmpeg, check if playable
static struct tag *ffmpeg_tag(char *file)
static struct tag *ffmpeg_tag(const char *file)
{
struct input_stream input;
BasePtrs base;