aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_api.c')
-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);
}