InputStream: store references instead of pointers

This commit is contained in:
Max Kellermann
2013-01-28 23:35:01 +01:00
parent dcf55c7e32
commit cffc78ad6a
8 changed files with 67 additions and 97 deletions

View File

@@ -285,7 +285,7 @@ size_t decoder_read(struct decoder *decoder,
if (input_stream_available(is))
break;
is->cond->wait(*is->mutex);
is->cond.wait(is->mutex);
}
nbytes = input_stream_read(is, buffer, length, &error);