summaryrefslogtreecommitdiff
path: root/src/libmpeg2new/xine_mpeg2new_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmpeg2new/xine_mpeg2new_decoder.c')
-rw-r--r--src/libmpeg2new/xine_mpeg2new_decoder.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libmpeg2new/xine_mpeg2new_decoder.c b/src/libmpeg2new/xine_mpeg2new_decoder.c
index 1bed00954..d0c01a0d4 100644
--- a/src/libmpeg2new/xine_mpeg2new_decoder.c
+++ b/src/libmpeg2new/xine_mpeg2new_decoder.c
@@ -473,11 +473,6 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre
/*
* mpeg2 plugin class
*/
-
-static void dispose_class (video_decoder_class_t *this) {
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
mpeg2_class_t *this;
@@ -487,7 +482,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->decoder_class.open_plugin = open_plugin;
this->decoder_class.identifier = "mpeg2new";
this->decoder_class.description = N_("mpeg2 based video decoder plugin");
- this->decoder_class.dispose = dispose_class;
+ this->decoder_class.dispose = default_video_decoder_class_dispose;
return this;
}