aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_stream.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/input_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_stream.c b/src/input_stream.c
index be547912e..65b6a89b2 100644
--- a/src/input_stream.c
+++ b/src/input_stream.c
@@ -58,7 +58,7 @@ input_stream_open(struct input_stream *is, const char *url)
is->seekable = false;
is->ready = false;
is->offset = 0;
- is->size = 0;
+ is->size = -1;
is->error = 0;
is->mime = NULL;
is->meta_name = NULL;