aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-01 14:51:41 +0100
committerMax Kellermann <max@duempel.org>2008-11-01 14:51:41 +0100
commit5036368f540af93372b750fe80e1c191b409a7a9 (patch)
tree38fcbd9a827f1271995e86307db4e80e2c201945 /src/song.c
parent83f6222ae74e6601383cf934a1bbf176656bf5c5 (diff)
downloadmpd-5036368f540af93372b750fe80e1c191b409a7a9.tar.gz
mpd-5036368f540af93372b750fe80e1c191b409a7a9.tar.xz
mpd-5036368f540af93372b750fe80e1c191b409a7a9.zip
decoder: return const decoder_plugin structs
The decoder_plugin structs must never change. Don't work with non-const pointers.
Diffstat (limited to 'src/song.c')
-rw-r--r--src/song.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song.c b/src/song.c
index 4ab0afadf..eafd1fb4a 100644
--- a/src/song.c
+++ b/src/song.c
@@ -96,7 +96,7 @@ song_file_update(struct song *song)
{
char buffer[MPD_PATH_MAX];
const char *path_fs;
- struct decoder_plugin *plugin;
+ const struct decoder_plugin *plugin;
unsigned int next = 0;
struct stat st;