diff options
author | Max Kellermann <max@duempel.org> | 2009-12-31 16:01:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-12-31 16:26:34 +0100 |
commit | 0cc3b98bd9a4e2b9a0a9ae941c62e0dd7ac91457 (patch) | |
tree | 3923eb2ae2d0e7e82cfad062b1ed06034156bf8a /src/archive/bz2_archive_plugin.c | |
parent | c157711eaf7cbe7052f55ba23d8d5ff30507caa3 (diff) | |
download | mpd-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 'src/archive/bz2_archive_plugin.c')
-rw-r--r-- | src/archive/bz2_archive_plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/archive/bz2_archive_plugin.c b/src/archive/bz2_archive_plugin.c index 7e0711676..975fd3f07 100644 --- a/src/archive/bz2_archive_plugin.c +++ b/src/archive/bz2_archive_plugin.c @@ -170,6 +170,7 @@ bz2_open_stream(struct archive_file *file, struct input_stream *is, is->plugin = &bz2_inputplugin; //insert back reference is->data = bis; + is->ready = true; is->seekable = false; if (!bz2_alloc(bis, error_r)) { |