aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream_file.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-18 09:34:22 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-18 09:34:22 +0000
commitd4c7d6df6db478cbbfb0cba11a8a42aed9070d62 (patch)
treeee993d79b6209470749e5cb4b48002d3c42a9c2b /src/inputStream_file.c
parent45f8d47384934582f4e2e0ff5321b710ea9c34da (diff)
downloadmpd-d4c7d6df6db478cbbfb0cba11a8a42aed9070d62.tar.gz
mpd-d4c7d6df6db478cbbfb0cba11a8a42aed9070d62.tar.xz
mpd-d4c7d6df6db478cbbfb0cba11a8a42aed9070d62.zip
can parse inputStream_http can parse mime type
git-svn-id: https://svn.musicpd.org/mpd/trunk@1056 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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);