diff options
author | Max Kellermann <max@duempel.org> | 2014-01-28 23:39:48 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-29 08:10:18 +0100 |
commit | bf803e241f4f1210e7ed1e71895a561de81d7a94 (patch) | |
tree | d9894df2da6ad9478d5459f7a2af0974bf5a4979 /src/output/plugins/HttpdOutputPlugin.cxx | |
parent | 8a8d023f90e057ae9b70377a132f4259b173d436 (diff) | |
download | mpd-bf803e241f4f1210e7ed1e71895a561de81d7a94.tar.gz mpd-bf803e241f4f1210e7ed1e71895a561de81d7a94.tar.xz mpd-bf803e241f4f1210e7ed1e71895a561de81d7a94.zip |
AudioOutput: pass plugin to constructor
Make it "const".
Diffstat (limited to 'src/output/plugins/HttpdOutputPlugin.cxx')
-rw-r--r-- | src/output/plugins/HttpdOutputPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output/plugins/HttpdOutputPlugin.cxx b/src/output/plugins/HttpdOutputPlugin.cxx index 30bf607d9..dc9e7e0b4 100644 --- a/src/output/plugins/HttpdOutputPlugin.cxx +++ b/src/output/plugins/HttpdOutputPlugin.cxx @@ -51,6 +51,7 @@ const Domain httpd_output_domain("httpd_output"); inline HttpdOutput::HttpdOutput(EventLoop &_loop) :ServerSocket(_loop), DeferredMonitor(_loop), + base(httpd_output_plugin), encoder(nullptr), unflushed_input(0), metadata(nullptr) { @@ -136,7 +137,7 @@ HttpdOutput::Configure(const config_param ¶m, Error &error) inline bool HttpdOutput::Init(const config_param ¶m, Error &error) { - return ao_base_init(&base, &httpd_output_plugin, param, error); + return ao_base_init(&base, param, error); } static AudioOutput * |