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

@@ -517,7 +517,7 @@ wavpack_streamdecode(struct decoder * decoder, struct input_stream *is)
struct wavpack_input isp, isp_wvc;
bool can_seek = is->seekable;
is_wvc = wavpack_open_wvc(decoder, is->uri, *is->mutex, *is->cond,
is_wvc = wavpack_open_wvc(decoder, is->uri, is->mutex, is->cond,
&isp_wvc);
if (is_wvc != NULL) {
open_flags |= OPEN_WVC;