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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user