Fixed class inheritance so that the decoder will be found as well.

RegisterPlugin() didn't return B_OK.
Removed unused headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6164 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-01-19 23:13:31 +00:00
parent e74116611d
commit af18100b2f
2 changed files with 2 additions and 4 deletions

View File

@ -8,9 +8,6 @@
#include "MusePackReader.h"
#include "MusePackDecoder.h"
#include <ByteOrder.h>
#include <InterfaceDefs.h>
Reader *
MusePackPlugin::NewReader()
@ -28,6 +25,7 @@ status_t
MusePackPlugin::RegisterPlugin()
{
PublishDecoder("audiocodec/musepack", "musepack", "musepack decoder");
return B_OK;
}

View File

@ -10,7 +10,7 @@
#include "DecoderPlugin.h"
class MusePackPlugin : public ReaderPlugin, DecoderPlugin {
class MusePackPlugin : public ReaderPlugin, public DecoderPlugin {
public:
Reader *NewReader();