diff options
author | Max Kellermann <max@duempel.org> | 2009-01-30 00:40:14 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-30 00:40:14 +0100 |
commit | dc1cc7e7e52960cceea5514397ec33f7ffc0dd6d (patch) | |
tree | a76aba35426426992ebfa3c58d0e348b5152658b /src/input_archive.c | |
parent | 297101c3f869abe02aeb642774f6c82b75fcfe81 (diff) | |
download | mpd-dc1cc7e7e52960cceea5514397ec33f7ffc0dd6d.tar.gz mpd-dc1cc7e7e52960cceea5514397ec33f7ffc0dd6d.tar.xz mpd-dc1cc7e7e52960cceea5514397ec33f7ffc0dd6d.zip |
input_stream: let the implementation assign is->plugin
This way, plugins can manipulate the plugin pointer during open().
Diffstat (limited to '')
-rw-r--r-- | src/input_archive.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_archive.c b/src/input_archive.c index d687d9623..387ad465a 100644 --- a/src/input_archive.c +++ b/src/input_archive.c @@ -87,6 +87,7 @@ input_archive_open(struct input_stream *is, const char *pathname) is->plugin = &input_plugin_archive; //internal handle + is->plugin = &input_plugin_archive; is->data = arch_ctx; //open archive |