aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mpc_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-26 20:34:47 +0100
committerMax Kellermann <max@duempel.org>2008-10-26 20:34:47 +0100
commitdbc7e9ba2f57c71a9b73cd6d035ba2906190be72 (patch)
tree0f9a55ed4a533d4daf266f6748acb30830a6f095 /src/decoder/mpc_plugin.c
parent97a9c7a8e094f830e70fdb479425c96e182f8b5e (diff)
downloadmpd-dbc7e9ba2f57c71a9b73cd6d035ba2906190be72.tar.gz
mpd-dbc7e9ba2f57c71a9b73cd6d035ba2906190be72.tar.xz
mpd-dbc7e9ba2f57c71a9b73cd6d035ba2906190be72.zip
input_stream: no CamelCase
Renamed all functions and variables.
Diffstat (limited to '')
-rw-r--r--src/decoder/mpc_plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder/mpc_plugin.c b/src/decoder/mpc_plugin.c
index e76b56cf9..7d792f429 100644
--- a/src/decoder/mpc_plugin.c
+++ b/src/decoder/mpc_plugin.c
@@ -38,7 +38,7 @@ static mpc_bool_t mpc_seek_cb(void *vdata, mpc_int32_t offset)
{
MpcCallbackData *data = (MpcCallbackData *) vdata;
- return seekInputStream(data->inStream, offset, SEEK_SET) < 0 ? 0 : 1;
+ return input_stream_seek(data->inStream, offset, SEEK_SET) < 0 ? 0 : 1;
}
static mpc_int32_t mpc_tell_cb(void *vdata)
@@ -260,19 +260,19 @@ static float mpcGetTime(char *file)
mpc_streaminfo_init(&info);
- if (openInputStream(&inStream, file) < 0) {
+ if (input_stream_open(&inStream, file) < 0) {
DEBUG("mpcGetTime: Failed to open file: %s\n", file);
return -1;
}
if (mpc_streaminfo_read(&info, &reader) != ERROR_CODE_OK) {
- closeInputStream(&inStream);
+ input_stream_close(&inStream);
return -1;
}
total_time = mpc_streaminfo_get_length(&info);
- closeInputStream(&inStream);
+ input_stream_close(&inStream);
return total_time;
}