aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r--src/decoder_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h
index a48718846..1400f52c2 100644
--- a/src/decoder_api.h
+++ b/src/decoder_api.h
@@ -86,13 +86,13 @@ struct decoder_plugin {
*
* returns -1 on error, 0 on success
*/
- bool (*file_decode)(struct decoder *, char *path);
+ bool (*file_decode)(struct decoder *, const char *path);
/**
* file should be the full path! Returns NULL if a tag cannot
* be found or read
*/
- struct tag *(*tag_dup)(char *file);
+ struct tag *(*tag_dup)(const char *file);
/* one or more of the INPUT_PLUGIN_STREAM_* values OR'd together */
unsigned char stream_types;