input_stream: removed nmemb argument

The nmemb argument isn't actually useful, and one of nmemb and size
was always passed as 1.  Remove it.
This commit is contained in:
Max Kellermann
2008-10-17 17:53:59 +02:00
parent b73ecbb073
commit 4984639b72
8 changed files with 12 additions and 16 deletions

View File

@@ -115,7 +115,7 @@ size_t decoder_read(struct decoder *decoder,
dc.command != DECODE_COMMAND_NONE)
return 0;
nbytes = readFromInputStream(inStream, buffer, 1, length);
nbytes = readFromInputStream(inStream, buffer, length);
if (nbytes > 0 || inputStreamAtEOF(inStream))
return nbytes;