aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins/RewindInputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-05-11 18:25:55 +0200
committerMax Kellermann <max@duempel.org>2014-05-11 18:25:55 +0200
commitfd1b04932a07e146a0a3c4ce52ace068a112587b (patch)
treefdc799083a93453b962e6bc9f8d9d95e624bd441 /src/input/plugins/RewindInputPlugin.cxx
parentd4b625b48e6bbac61b4128aeeaf44911b2e3e03b (diff)
downloadmpd-fd1b04932a07e146a0a3c4ce52ace068a112587b.tar.gz
mpd-fd1b04932a07e146a0a3c4ce52ace068a112587b.tar.xz
mpd-fd1b04932a07e146a0a3c4ce52ace068a112587b.zip
InputStream: remove attribute "plugin"
Diffstat (limited to '')
-rw-r--r--src/input/plugins/RewindInputPlugin.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/input/plugins/RewindInputPlugin.cxx b/src/input/plugins/RewindInputPlugin.cxx
index b11fd8b80..80f3beea1 100644
--- a/src/input/plugins/RewindInputPlugin.cxx
+++ b/src/input/plugins/RewindInputPlugin.cxx
@@ -26,13 +26,6 @@
#include <string.h>
#include <stdio.h>
-static const InputPlugin rewind_input_plugin = {
- nullptr,
- nullptr,
- nullptr,
- nullptr,
-};
-
class RewindInputStream final : public InputStream {
InputStream *input;
@@ -59,7 +52,7 @@ class RewindInputStream final : public InputStream {
public:
RewindInputStream(InputStream *_input)
- :InputStream(rewind_input_plugin, _input->GetURI(),
+ :InputStream(_input->GetURI(),
_input->mutex, _input->cond),
input(_input), tail(0) {
}