From dbc7e9ba2f57c71a9b73cd6d035ba2906190be72 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Oct 2008 20:34:47 +0100 Subject: input_stream: no CamelCase Renamed all functions and variables. --- src/decoder_api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/decoder_api.c') 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); } -- cgit v1.2.3