aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream_file.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/inputStream_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inputStream_file.c b/src/inputStream_file.c
index 9eba8f159..9c03fe826 100644
--- a/src/inputStream_file.c
+++ b/src/inputStream_file.c
@@ -33,6 +33,8 @@ int inputStream_fileOpen(InputStream * inStream, char * filename) {
}
inStream->offset = 0;
+ inStream->seekable = 1;
+ inStream->mime = NULL;
fseek(fp,0,SEEK_END);
inStream->size = ftell(fp);