input/archive: don't initialize input_stream.ready

The archive plugin should decide this.
This commit is contained in:
Max Kellermann
2009-12-31 16:01:10 +01:00
parent c157711eaf
commit 0cc3b98bd9
4 changed files with 3 additions and 2 deletions

View File

@@ -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;