aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-17 13:23:12 +0100
committerMax Kellermann <max@duempel.org>2009-01-17 13:23:12 +0100
commit43eefe9c41478f5605e4abd7e6c7fc6d710341e8 (patch)
tree3527e603227741b19b33410fbac1ff23fa5f372b /src/decoder_api.h
parent356526457c49384d6ff5b652aa0f33dc74d23508 (diff)
downloadmpd-43eefe9c41478f5605e4abd7e6c7fc6d710341e8.tar.gz
mpd-43eefe9c41478f5605e4abd7e6c7fc6d710341e8.tar.xz
mpd-43eefe9c41478f5605e4abd7e6c7fc6d710341e8.zip
decoder_api: pass const pointer to decoder_data()
Diffstat (limited to '')
-rw-r--r--src/decoder_api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h
index 4e24c7b05..b4231e706 100644
--- a/src/decoder_api.h
+++ b/src/decoder_api.h
@@ -148,7 +148,8 @@ size_t decoder_read(struct decoder *decoder,
enum decoder_command
decoder_data(struct decoder *decoder,
struct input_stream *inStream,
- void *data, size_t datalen, float data_time, uint16_t bitRate,
+ const void *data, size_t datalen,
+ float data_time, uint16_t bitRate,
struct replay_gain_info *replay_gain_info);
/**