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:
parent
e74116611d
commit
af18100b2f
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "DecoderPlugin.h"
|
||||
|
||||
|
||||
class MusePackPlugin : public ReaderPlugin, DecoderPlugin {
|
||||
class MusePackPlugin : public ReaderPlugin, public DecoderPlugin {
|
||||
public:
|
||||
Reader *NewReader();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user