summaryrefslogtreecommitdiff
path: root/src/combined/xine_vorbis_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/combined/xine_vorbis_decoder.c')
-rw-r--r--src/combined/xine_vorbis_decoder.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/combined/xine_vorbis_decoder.c b/src/combined/xine_vorbis_decoder.c
index 29d095228..aa3546e2e 100644
--- a/src/combined/xine_vorbis_decoder.c
+++ b/src/combined/xine_vorbis_decoder.c
@@ -310,19 +310,6 @@ static audio_decoder_t *open_plugin (audio_decoder_class_t *class_gen,
/*
* vorbis plugin class
*/
-
-static char *get_identifier (audio_decoder_class_t *this) {
- return "vorbis";
-}
-
-static char *get_description (audio_decoder_class_t *this) {
- return "vorbis audio decoder plugin";
-}
-
-static void dispose_class (audio_decoder_class_t *this) {
- free (this);
-}
-
void *vorbis_init_plugin (xine_t *xine, void *data) {
vorbis_class_t *this;
@@ -330,9 +317,9 @@ void *vorbis_init_plugin (xine_t *xine, void *data) {
this = (vorbis_class_t *) xine_xmalloc (sizeof (vorbis_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.dispose = dispose_class;
+ this->decoder_class.identifier = "vorbis";
+ this->decoder_class.description = N_("vorbis audio decoder plugin");
+ this->decoder_class.dispose = default_audio_decoder_class_dispose;
return this;
}