aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive/zzip_archive_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-31 16:01:10 +0100
committerMax Kellermann <max@duempel.org>2009-12-31 16:26:34 +0100
commit0cc3b98bd9a4e2b9a0a9ae941c62e0dd7ac91457 (patch)
tree3923eb2ae2d0e7e82cfad062b1ed06034156bf8a /src/archive/zzip_archive_plugin.c
parentc157711eaf7cbe7052f55ba23d8d5ff30507caa3 (diff)
downloadmpd-0cc3b98bd9a4e2b9a0a9ae941c62e0dd7ac91457.tar.gz
mpd-0cc3b98bd9a4e2b9a0a9ae941c62e0dd7ac91457.tar.xz
mpd-0cc3b98bd9a4e2b9a0a9ae941c62e0dd7ac91457.zip
input/archive: don't initialize input_stream.ready
The archive plugin should decide this.
Diffstat (limited to '')
-rw-r--r--src/archive/zzip_archive_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/archive/zzip_archive_plugin.c b/src/archive/zzip_archive_plugin.c
index 087071a47..fb7af74ed 100644
--- a/src/archive/zzip_archive_plugin.c
+++ b/src/archive/zzip_archive_plugin.c
@@ -145,6 +145,7 @@ zzip_archive_open_stream(struct archive_file *file, struct input_stream *is,
is->plugin = &zzip_input_plugin;
//insert back reference
is->data = zis;
+ is->ready = true;
//we are seekable (but its not recommendent to do so)
is->seekable = true;