aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.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_api.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_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index f20dbf42d..27994d300 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -115,8 +115,8 @@ size_t decoder_read(struct decoder *decoder,
dc.command != DECODE_COMMAND_NONE)
return 0;
- nbytes = readFromInputStream(inStream, buffer, length);
- if (nbytes > 0 || inputStreamAtEOF(inStream))
+ nbytes = input_stream_read(inStream, buffer, length);
+ if (nbytes > 0 || input_stream_eof(inStream))
return nbytes;
/* sleep for a fraction of a second! */
@@ -145,7 +145,7 @@ need_chunks(struct decoder *decoder,
}
if (!inStream ||
- bufferInputStream(inStream) <= 0) {
+ input_stream_buffer(inStream) <= 0) {
notify_wait(&dc.notify);
notify_signal(&pc.notify);
}