Diffstat (limited to 'core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp b/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp index 440747a..0c7b1ea 100644 --- a/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp +++ b/core/multimedia/opieplayer/vorbis/libtremorpluginimpl.cpp | |||
@@ -44,28 +44,30 @@ MediaPlayerDecoder *LibTremorPluginImpl::decoder() | |||
44 | 44 | ||
45 | 45 | ||
46 | MediaPlayerEncoder *LibTremorPluginImpl::encoder() | 46 | MediaPlayerEncoder *LibTremorPluginImpl::encoder() |
47 | { | 47 | { |
48 | return NULL; | 48 | return NULL; |
49 | } | 49 | } |
50 | 50 | ||
51 | 51 | ||
52 | #ifndef QT_NO_COMPONENT | 52 | #ifndef QT_NO_COMPONENT |
53 | 53 | ||
54 | 54 | ||
55 | QRESULT LibTremorPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) | 55 | QRESULT LibTremorPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) |
56 | { | 56 | { |
57 | *iface = 0; | 57 | *iface = 0; |
58 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) ) | 58 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) ) |
59 | *iface = this, (*iface)->addRef(); | 59 | *iface = this, (*iface)->addRef(); |
60 | else | ||
61 | return QS_FALSE; | ||
60 | return QS_OK; | 62 | return QS_OK; |
61 | } | 63 | } |
62 | 64 | ||
63 | 65 | ||
64 | Q_EXPORT_INTERFACE() | 66 | Q_EXPORT_INTERFACE() |
65 | { | 67 | { |
66 | Q_CREATE_INSTANCE( LibTremorPluginImpl ) | 68 | Q_CREATE_INSTANCE( LibTremorPluginImpl ) |
67 | } | 69 | } |
68 | 70 | ||
69 | 71 | ||
70 | #endif | 72 | #endif |
71 | 73 | ||