summaryrefslogtreecommitdiff
path: root/src/libxineadec/xine_musepack_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxineadec/xine_musepack_decoder.c')
-rw-r--r--src/libxineadec/xine_musepack_decoder.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libxineadec/xine_musepack_decoder.c b/src/libxineadec/xine_musepack_decoder.c
index 7e6b93f45..13f67b137 100644
--- a/src/libxineadec/xine_musepack_decoder.c
+++ b/src/libxineadec/xine_musepack_decoder.c
@@ -434,10 +434,6 @@ static char *get_identifier (audio_decoder_class_t *this) {
return "mpc";
}
-static char *get_description (audio_decoder_class_t *this) {
- return "mpc: musepack audio decoder plugin";
-}
-
static void dispose_class (audio_decoder_class_t *this_gen) {
mpc_class_t *this = (mpc_class_t *)this_gen;
@@ -452,8 +448,8 @@ static void *init_plugin (xine_t *xine, void *data) {
this = (mpc_class_t *) xine_xmalloc (sizeof (mpc_class_t));
this->decoder_class.open_plugin = open_plugin;
- this->decoder_class.get_identifier = get_identifier;
- this->decoder_class.get_description = get_description;
+ this->decoder_class.identifier = "mpc";
+ this->decoder_class.description = _("mpc: musepack audio decoder plugin");
this->decoder_class.dispose = dispose_class;
return this;