summaryrefslogtreecommitdiff
path: root/src/demuxers
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers')
-rw-r--r--src/demuxers/demux_4xm.c8
-rw-r--r--src/demuxers/demux_aac.c8
-rw-r--r--src/demuxers/demux_ac3.c8
-rw-r--r--src/demuxers/demux_aiff.c8
-rw-r--r--src/demuxers/demux_asf.c9
-rw-r--r--src/demuxers/demux_aud.c8
-rw-r--r--src/demuxers/demux_avi.c8
-rw-r--r--src/demuxers/demux_cdda.c8
-rw-r--r--src/demuxers/demux_dts.c8
-rw-r--r--src/demuxers/demux_eawve.c6
-rw-r--r--src/demuxers/demux_elem.c8
-rw-r--r--src/demuxers/demux_film.c8
-rw-r--r--src/demuxers/demux_flac.c8
-rw-r--r--src/demuxers/demux_fli.c8
-rw-r--r--src/demuxers/demux_flv.c8
-rw-r--r--src/demuxers/demux_idcin.c8
-rw-r--r--src/demuxers/demux_iff.c8
-rw-r--r--src/demuxers/demux_image.c9
-rw-r--r--src/demuxers/demux_ipmovie.c8
-rw-r--r--src/demuxers/demux_matroska.c9
-rw-r--r--src/demuxers/demux_mng.c6
-rw-r--r--src/demuxers/demux_mod.c8
-rw-r--r--src/demuxers/demux_mpc.c8
-rw-r--r--src/demuxers/demux_mpeg.c8
-rw-r--r--src/demuxers/demux_mpeg_block.c9
-rw-r--r--src/demuxers/demux_mpeg_pes.c9
-rw-r--r--src/demuxers/demux_mpgaudio.c9
-rw-r--r--src/demuxers/demux_nsv.c8
-rw-r--r--src/demuxers/demux_playlist.c8
-rw-r--r--src/demuxers/demux_pva.c8
-rw-r--r--src/demuxers/demux_qt.c9
-rw-r--r--src/demuxers/demux_rawdv.c8
-rw-r--r--src/demuxers/demux_real.c8
-rw-r--r--src/demuxers/demux_realaudio.c8
-rw-r--r--src/demuxers/demux_roq.c8
-rw-r--r--src/demuxers/demux_shn.c8
-rw-r--r--src/demuxers/demux_slave.c8
-rw-r--r--src/demuxers/demux_smjpeg.c8
-rw-r--r--src/demuxers/demux_snd.c8
-rw-r--r--src/demuxers/demux_str.c7
-rw-r--r--src/demuxers/demux_ts.c9
-rw-r--r--src/demuxers/demux_tta.c8
-rw-r--r--src/demuxers/demux_vmd.c8
-rw-r--r--src/demuxers/demux_voc.c8
-rw-r--r--src/demuxers/demux_vox.c8
-rw-r--r--src/demuxers/demux_vqa.c8
-rw-r--r--src/demuxers/demux_wav.c8
-rw-r--r--src/demuxers/demux_wc3movie.c8
-rw-r--r--src/demuxers/demux_yuv4mpeg2.c8
-rw-r--r--src/demuxers/demux_yuv_frames.c8
50 files changed, 50 insertions, 353 deletions
diff --git a/src/demuxers/demux_4xm.c b/src/demuxers/demux_4xm.c
index 534686d47..8df2dec02 100644
--- a/src/demuxers/demux_4xm.c
+++ b/src/demuxers/demux_4xm.c
@@ -529,12 +529,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_fourxm_class_t *this = (demux_fourxm_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_fourxm_init_plugin (xine_t *xine, void *data) {
demux_fourxm_class_t *this;
@@ -545,7 +539,7 @@ void *demux_fourxm_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "4X Technologies";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_aac.c b/src/demuxers/demux_aac.c
index ff82f439e..415521852 100644
--- a/src/demuxers/demux_aac.c
+++ b/src/demuxers/demux_aac.c
@@ -316,12 +316,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_aac_class_t *this = (demux_aac_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_aac_init_plugin (xine_t *xine, void *data) {
demux_aac_class_t *this;
@@ -332,7 +326,7 @@ void *demux_aac_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "AAC";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_ac3.c b/src/demuxers/demux_ac3.c
index 1cb2ec62b..d3a938909 100644
--- a/src/demuxers/demux_ac3.c
+++ b/src/demuxers/demux_ac3.c
@@ -474,12 +474,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_ac3_class_t *this = (demux_ac3_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_ac3_init_plugin (xine_t *xine, void *data) {
demux_ac3_class_t *this;
@@ -490,7 +484,7 @@ void *demux_ac3_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "AC3";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_aiff.c b/src/demuxers/demux_aiff.c
index 7287db0bc..4cb693c39 100644
--- a/src/demuxers/demux_aiff.c
+++ b/src/demuxers/demux_aiff.c
@@ -396,12 +396,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
"audio/x-pn-aiff: aif, aiff: AIFF audio;";
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_aiff_class_t *this = (demux_aiff_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_aiff_init_plugin (xine_t *xine, void *data) {
demux_aiff_class_t *this;
@@ -412,7 +406,7 @@ void *demux_aiff_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "AIFF";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c
index 2fc747802..b557abdfe 100644
--- a/src/demuxers/demux_asf.c
+++ b/src/demuxers/demux_asf.c
@@ -2113,13 +2113,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
"video/x-ms-wax: wva: wma metafile;";
}
-static void class_dispose (demux_class_t *this_gen) {
-
- demux_asf_class_t *this = (demux_asf_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_class (xine_t *xine, void *data) {
demux_asf_class_t *this;
@@ -2133,7 +2126,7 @@ static void *init_class (xine_t *xine, void *data) {
this->demux_class.identifier = "ASF";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_aud.c b/src/demuxers/demux_aud.c
index 8df886fdb..6b72d44eb 100644
--- a/src/demuxers/demux_aud.c
+++ b/src/demuxers/demux_aud.c
@@ -326,12 +326,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_aud_class_t *this = (demux_aud_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_aud_init_plugin (xine_t *xine, void *data) {
demux_aud_class_t *this;
@@ -342,7 +336,7 @@ void *demux_aud_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "Westwood Studios AUD";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c
index 0f8e19266..51fb488e4 100644
--- a/src/demuxers/demux_avi.c
+++ b/src/demuxers/demux_avi.c
@@ -2319,12 +2319,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
"video/x-msvideo: avi: AVI video;";
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_avi_class_t *this = (demux_avi_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_class (xine_t *xine, void *data) {
demux_avi_class_t *this;
@@ -2335,7 +2329,7 @@ static void *init_class (xine_t *xine, void *data) {
this->demux_class.identifier = "AVI";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_cdda.c b/src/demuxers/demux_cdda.c
index 26fe6bbfb..a8e59796a 100644
--- a/src/demuxers/demux_cdda.c
+++ b/src/demuxers/demux_cdda.c
@@ -233,12 +233,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_cdda_class_t *this = (demux_cdda_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_cdda_init_plugin (xine_t *xine, void *data) {
demux_cdda_class_t *this;
@@ -249,7 +243,7 @@ void *demux_cdda_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "CDDA";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_dts.c b/src/demuxers/demux_dts.c
index b89ec3cc0..c64b7dc17 100644
--- a/src/demuxers/demux_dts.c
+++ b/src/demuxers/demux_dts.c
@@ -401,12 +401,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_dts_class_t *this = (demux_dts_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_dts_init_plugin (xine_t *xine, void *data) {
demux_dts_class_t *this;
@@ -417,7 +411,7 @@ void *demux_dts_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "DTS";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_eawve.c b/src/demuxers/demux_eawve.c
index 08e6f82b5..49086678d 100644
--- a/src/demuxers/demux_eawve.c
+++ b/src/demuxers/demux_eawve.c
@@ -406,10 +406,6 @@ static const char *get_mimetypes(demux_class_t *this_gen){
return NULL;
}
-static void class_dispose(demux_class_t *this){
- free(this);
-}
-
void *demux_eawve_init_plugin(xine_t *xine, void *data) {
demux_eawve_class_t *this;
@@ -420,7 +416,7 @@ void *demux_eawve_init_plugin(xine_t *xine, void *data) {
this->demux_class.identifier = "EA WVE";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_elem.c b/src/demuxers/demux_elem.c
index 4517604f7..2cf50dcc2 100644
--- a/src/demuxers/demux_elem.c
+++ b/src/demuxers/demux_elem.c
@@ -267,12 +267,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_mpeg_elem_class_t *this = (demux_mpeg_elem_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
demux_mpeg_elem_class_t *this;
@@ -283,7 +277,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "MPEG_ELEM";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_film.c b/src/demuxers/demux_film.c
index 78c596af6..261aaac89 100644
--- a/src/demuxers/demux_film.c
+++ b/src/demuxers/demux_film.c
@@ -910,12 +910,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_film_class_t *this = (demux_film_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_film_init_plugin (xine_t *xine, void *data) {
demux_film_class_t *this;
@@ -926,7 +920,7 @@ void *demux_film_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "FILM (CPK)";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_flac.c b/src/demuxers/demux_flac.c
index eee8dbd73..accfbcb4e 100644
--- a/src/demuxers/demux_flac.c
+++ b/src/demuxers/demux_flac.c
@@ -538,12 +538,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_flac_class_t *this = (demux_flac_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_flac_init_plugin (xine_t *xine, void *data) {
demux_flac_class_t *this;
@@ -554,7 +548,7 @@ void *demux_flac_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "FLAC";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_fli.c b/src/demuxers/demux_fli.c
index 0b7173955..c56d55e75 100644
--- a/src/demuxers/demux_fli.c
+++ b/src/demuxers/demux_fli.c
@@ -360,12 +360,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return "video/x-flic: fli,flc: Autodesk FLIC files;";
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_fli_class_t *this = (demux_fli_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
demux_fli_class_t *this;
@@ -376,7 +370,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "FLI/FLC";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_flv.c b/src/demuxers/demux_flv.c
index 5d0c8f9ab..10f9c9afe 100644
--- a/src/demuxers/demux_flv.c
+++ b/src/demuxers/demux_flv.c
@@ -887,12 +887,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return "video/x-flv: flv: Flash video;";
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_flv_class_t *this = (demux_flv_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
demux_flv_class_t *this;
@@ -903,7 +897,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "FLV";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_idcin.c b/src/demuxers/demux_idcin.c
index ebdcf6e77..76d460476 100644
--- a/src/demuxers/demux_idcin.c
+++ b/src/demuxers/demux_idcin.c
@@ -531,12 +531,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_idcin_class_t *this = (demux_idcin_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_idcin_init_plugin (xine_t *xine, void *data) {
demux_idcin_class_t *this;
@@ -547,7 +541,7 @@ void *demux_idcin_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "Id CIN";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_iff.c b/src/demuxers/demux_iff.c
index 51708276a..97d9c7a62 100644
--- a/src/demuxers/demux_iff.c
+++ b/src/demuxers/demux_iff.c
@@ -1298,12 +1298,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
"video/anim: anim: IFF-ANIM Video;";
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_iff_class_t *this = (demux_iff_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
demux_iff_class_t *this;
@@ -1314,7 +1308,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "IFF";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_image.c b/src/demuxers/demux_image.c
index c1ae2b28f..2a1e56230 100644
--- a/src/demuxers/demux_image.c
+++ b/src/demuxers/demux_image.c
@@ -231,13 +231,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_image_class_t *this = (demux_image_class_t *) this_gen;
-
- lprintf("class closed\n");
- free (this);
-}
-
static void *init_class (xine_t *xine, void *data) {
demux_image_class_t *this;
@@ -248,7 +241,7 @@ static void *init_class (xine_t *xine, void *data) {
this->demux_class.identifier = "imagedmx";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
lprintf("class opened\n");
return this;
diff --git a/src/demuxers/demux_ipmovie.c b/src/demuxers/demux_ipmovie.c
index be8ecf084..22656acca 100644
--- a/src/demuxers/demux_ipmovie.c
+++ b/src/demuxers/demux_ipmovie.c
@@ -729,12 +729,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_ipmovie_class_t *this = (demux_ipmovie_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_ipmovie_init_plugin (xine_t *xine, void *data) {
demux_ipmovie_class_t *this;
@@ -745,7 +739,7 @@ void *demux_ipmovie_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "Interplay MVE";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_matroska.c b/src/demuxers/demux_matroska.c
index 2b4f63d9c..b4c79afd7 100644
--- a/src/demuxers/demux_matroska.c
+++ b/src/demuxers/demux_matroska.c
@@ -2871,13 +2871,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
}
-static void class_dispose (demux_class_t *this_gen) {
-
- demux_matroska_class_t *this = (demux_matroska_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_class (xine_t *xine, void *data) {
demux_matroska_class_t *this;
@@ -2890,7 +2883,7 @@ static void *init_class (xine_t *xine, void *data) {
this->demux_class.identifier = "matroska";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_mng.c b/src/demuxers/demux_mng.c
index 64dcb71d3..67e9e175e 100644
--- a/src/demuxers/demux_mng.c
+++ b/src/demuxers/demux_mng.c
@@ -345,10 +345,6 @@ static const char *get_mimetypes(demux_class_t *this_gen){
"video/x-mng: mng: MNG animation;";
}
-static void class_dispose(demux_class_t *this){
- free (this);
-}
-
static void *init_plugin(xine_t *xine, void *data){
demux_mng_class_t *this;
@@ -359,7 +355,7 @@ static void *init_plugin(xine_t *xine, void *data){
this->demux_class.identifier = "MNG";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_mod.c b/src/demuxers/demux_mod.c
index 991e93cb8..ff68fdd42 100644
--- a/src/demuxers/demux_mod.c
+++ b/src/demuxers/demux_mod.c
@@ -360,12 +360,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_mod_class_t *this = (demux_mod_class_t *) this_gen;
-
- free (this);
-}
-
static void *demux_mod_init_plugin (xine_t *xine, void *data) {
demux_mod_class_t *this;
@@ -376,7 +370,7 @@ static void *demux_mod_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "mod";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_mpc.c b/src/demuxers/demux_mpc.c
index 1e39d7d4d..2192ccf45 100644
--- a/src/demuxers/demux_mpc.c
+++ b/src/demuxers/demux_mpc.c
@@ -380,12 +380,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_mpc_class_t *this = (demux_mpc_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_mpc_init_plugin (xine_t *xine, void *data) {
demux_mpc_class_t *this;
@@ -396,7 +390,7 @@ void *demux_mpc_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "Musepack";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_mpeg.c b/src/demuxers/demux_mpeg.c
index ded69e73a..48bf31737 100644
--- a/src/demuxers/demux_mpeg.c
+++ b/src/demuxers/demux_mpeg.c
@@ -1229,12 +1229,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
"video/x-mpeg: mpeg, mpg, mpe: MPEG animation;";
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_mpeg_class_t *this = (demux_mpeg_class_t *) this_gen;
-
- free (this);
- }
-
static void *init_plugin (xine_t *xine, void *data) {
demux_mpeg_class_t *this;
@@ -1245,7 +1239,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "MPEG";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_mpeg_block.c b/src/demuxers/demux_mpeg_block.c
index e92b19b3d..390043b4d 100644
--- a/src/demuxers/demux_mpeg_block.c
+++ b/src/demuxers/demux_mpeg_block.c
@@ -1521,13 +1521,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
-
- demux_mpeg_block_class_t *this = (demux_mpeg_block_class_t *) this_gen;
-
- free (this);
- }
-
static void *init_plugin (xine_t *xine, void *data) {
demux_mpeg_block_class_t *this;
@@ -1541,7 +1534,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "MPEG_BLOCK";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_mpeg_pes.c b/src/demuxers/demux_mpeg_pes.c
index 2a3b14f5c..c24919867 100644
--- a/src/demuxers/demux_mpeg_pes.c
+++ b/src/demuxers/demux_mpeg_pes.c
@@ -1768,13 +1768,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
-
- demux_mpeg_pes_class_t *this = (demux_mpeg_pes_class_t *) this_gen;
-
- free (this);
- }
-
static void *init_plugin (xine_t *xine, void *data) {
demux_mpeg_pes_class_t *this;
@@ -1787,7 +1780,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "MPEG_PES";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c
index 79886f7e6..bbb95e893 100644
--- a/src/demuxers/demux_mpgaudio.c
+++ b/src/demuxers/demux_mpgaudio.c
@@ -1058,13 +1058,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return "";
}
-static void class_dispose (demux_class_t *this_gen) {
-
- demux_mpgaudio_class_t *this = (demux_mpgaudio_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_mpgaudio_init_class (xine_t *xine, void *data) {
demux_mpgaudio_class_t *this;
@@ -1077,7 +1070,7 @@ void *demux_mpgaudio_init_class (xine_t *xine, void *data) {
this->demux_class.identifier = "MPEGAUDIO";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_nsv.c b/src/demuxers/demux_nsv.c
index 3f931b1c6..ee87a2f34 100644
--- a/src/demuxers/demux_nsv.c
+++ b/src/demuxers/demux_nsv.c
@@ -651,12 +651,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_nsv_class_t *this = (demux_nsv_class_t *) this_gen;
-
- free (this);
-}
-
static void *demux_nsv_init_plugin (xine_t *xine, void *data) {
demux_nsv_class_t *this;
@@ -667,7 +661,7 @@ static void *demux_nsv_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "Nullsoft NSV";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_playlist.c b/src/demuxers/demux_playlist.c
index da8e526ce..d9402479d 100644
--- a/src/demuxers/demux_playlist.c
+++ b/src/demuxers/demux_playlist.c
@@ -703,12 +703,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
"application/xspf+xml: xspf: XSPF playlist;";
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_playlist_class_t *this = (demux_playlist_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
demux_playlist_class_t *this;
@@ -719,7 +713,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "playlist";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_pva.c b/src/demuxers/demux_pva.c
index 8b162b0a7..027029885 100644
--- a/src/demuxers/demux_pva.c
+++ b/src/demuxers/demux_pva.c
@@ -486,12 +486,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_pva_class_t *this = (demux_pva_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
demux_pva_class_t *this;
@@ -502,7 +496,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "TechnoTrend PVA";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index 83d72a349..03903e472 100644
--- a/src/demuxers/demux_qt.c
+++ b/src/demuxers/demux_qt.c
@@ -3133,13 +3133,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
"application/x-quicktimeplayer: qtl: Quicktime list;";
}
-static void class_dispose (demux_class_t *this_gen) {
-
- demux_qt_class_t *this = (demux_qt_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
demux_qt_class_t *this;
@@ -3153,7 +3146,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "MOV/MPEG-4";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_rawdv.c b/src/demuxers/demux_rawdv.c
index 07b438032..067f88d1c 100644
--- a/src/demuxers/demux_rawdv.c
+++ b/src/demuxers/demux_rawdv.c
@@ -419,12 +419,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_raw_dv_class_t *this = (demux_raw_dv_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
demux_raw_dv_class_t *this;
@@ -435,7 +429,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "raw_dv";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_real.c b/src/demuxers/demux_real.c
index 4d7222506..9f6a693ee 100644
--- a/src/demuxers/demux_real.c
+++ b/src/demuxers/demux_real.c
@@ -1627,12 +1627,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
"application/vnd.rn-realmedia: ra, rm, ram: Real Media file;";
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_real_class_t *this = (demux_real_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_class (xine_t *xine, void *data) {
demux_real_class_t *this;
@@ -1643,7 +1637,7 @@ static void *init_class (xine_t *xine, void *data) {
this->demux_class.identifier = "Real";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_realaudio.c b/src/demuxers/demux_realaudio.c
index 76d9de003..f17f12800 100644
--- a/src/demuxers/demux_realaudio.c
+++ b/src/demuxers/demux_realaudio.c
@@ -385,12 +385,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return "audio/x-realaudio: ra: RealAudio File;";
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_ra_class_t *this = (demux_ra_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_realaudio_init_plugin (xine_t *xine, void *data) {
demux_ra_class_t *this;
@@ -401,7 +395,7 @@ void *demux_realaudio_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "RA";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_roq.c b/src/demuxers/demux_roq.c
index 920e19fdf..146995ae9 100644
--- a/src/demuxers/demux_roq.c
+++ b/src/demuxers/demux_roq.c
@@ -468,12 +468,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_roq_class_t *this = (demux_roq_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_roq_init_plugin (xine_t *xine, void *data) {
demux_roq_class_t *this;
@@ -484,7 +478,7 @@ void *demux_roq_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "RoQ";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_shn.c b/src/demuxers/demux_shn.c
index f2d5dc7dd..3654cc074 100644
--- a/src/demuxers/demux_shn.c
+++ b/src/demuxers/demux_shn.c
@@ -236,12 +236,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_shn_class_t *this = (demux_shn_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_shn_init_plugin (xine_t *xine, void *data) {
demux_shn_class_t *this;
@@ -252,7 +246,7 @@ void *demux_shn_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "Shorten";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_slave.c b/src/demuxers/demux_slave.c
index 22eed6973..036c89dc4 100644
--- a/src/demuxers/demux_slave.c
+++ b/src/demuxers/demux_slave.c
@@ -397,12 +397,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_slave_class_t *this = (demux_slave_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
demux_slave_class_t *this;
@@ -413,7 +407,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "slave";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_smjpeg.c b/src/demuxers/demux_smjpeg.c
index d1a1c2f58..8c3b4663f 100644
--- a/src/demuxers/demux_smjpeg.c
+++ b/src/demuxers/demux_smjpeg.c
@@ -457,12 +457,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_smjpeg_class_t *this = (demux_smjpeg_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_smjpeg_init_plugin (xine_t *xine, void *data) {
demux_smjpeg_class_t *this;
@@ -473,7 +467,7 @@ void *demux_smjpeg_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "SMJPEG";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_snd.c b/src/demuxers/demux_snd.c
index b15a99266..f3d7458f8 100644
--- a/src/demuxers/demux_snd.c
+++ b/src/demuxers/demux_snd.c
@@ -378,12 +378,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_snd_class_t *this = (demux_snd_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_snd_init_plugin (xine_t *xine, void *data) {
demux_snd_class_t *this;
@@ -394,7 +388,7 @@ void *demux_snd_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "SND/AU";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_str.c b/src/demuxers/demux_str.c
index 65d7d2368..b878be2e8 100644
--- a/src/demuxers/demux_str.c
+++ b/src/demuxers/demux_str.c
@@ -612,11 +612,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_str_class_t *this = (demux_str_class_t *) this_gen;
- free (this);
-}
-
void *demux_str_init_plugin (xine_t *xine, void *data) {
demux_str_class_t *this;
@@ -627,7 +622,7 @@ void *demux_str_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "PSX STR";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_ts.c b/src/demuxers/demux_ts.c
index 3c11d0a39..2e1ab4ce6 100644
--- a/src/demuxers/demux_ts.c
+++ b/src/demuxers/demux_ts.c
@@ -2271,13 +2271,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
-
- demux_ts_class_t *this = (demux_ts_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_class (xine_t *xine, void *data) {
demux_ts_class_t *this;
@@ -2291,7 +2284,7 @@ static void *init_class (xine_t *xine, void *data) {
this->demux_class.identifier = "MPEG_TS";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_tta.c b/src/demuxers/demux_tta.c
index ebb201f1d..294ed81c8 100644
--- a/src/demuxers/demux_tta.c
+++ b/src/demuxers/demux_tta.c
@@ -289,12 +289,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_tta_class_t *this = (demux_tta_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_tta_init_plugin (xine_t *xine, void *data) {
demux_tta_class_t *this;
@@ -305,7 +299,7 @@ void *demux_tta_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "True Audio";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_vmd.c b/src/demuxers/demux_vmd.c
index fd67385a9..1f17ede1f 100644
--- a/src/demuxers/demux_vmd.c
+++ b/src/demuxers/demux_vmd.c
@@ -478,12 +478,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_vmd_class_t *this = (demux_vmd_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_vmd_init_plugin (xine_t *xine, void *data) {
demux_vmd_class_t *this;
@@ -494,7 +488,7 @@ void *demux_vmd_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "VMD";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_voc.c b/src/demuxers/demux_voc.c
index 0c641c522..7ab909c2d 100644
--- a/src/demuxers/demux_voc.c
+++ b/src/demuxers/demux_voc.c
@@ -353,12 +353,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_voc_class_t *this = (demux_voc_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_voc_init_plugin (xine_t *xine, void *data) {
demux_voc_class_t *this;
@@ -369,7 +363,7 @@ void *demux_voc_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "VOC";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_vox.c b/src/demuxers/demux_vox.c
index 8ee555046..32fe83373 100644
--- a/src/demuxers/demux_vox.c
+++ b/src/demuxers/demux_vox.c
@@ -230,12 +230,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_vox_class_t *this = (demux_vox_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_vox_init_plugin (xine_t *xine, void *data) {
demux_vox_class_t *this;
@@ -246,7 +240,7 @@ void *demux_vox_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "VOX";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_vqa.c b/src/demuxers/demux_vqa.c
index a980745da..3dbe058da 100644
--- a/src/demuxers/demux_vqa.c
+++ b/src/demuxers/demux_vqa.c
@@ -391,12 +391,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_vqa_class_t *this = (demux_vqa_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_vqa_init_plugin (xine_t *xine, void *data) {
demux_vqa_class_t *this;
@@ -407,7 +401,7 @@ void *demux_vqa_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "VQA";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_wav.c b/src/demuxers/demux_wav.c
index f30fec555..f0480d1bc 100644
--- a/src/demuxers/demux_wav.c
+++ b/src/demuxers/demux_wav.c
@@ -402,12 +402,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
"audio/x-pn-windows-acm: wav: WAV audio;";
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_wav_class_t *this = (demux_wav_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_wav_init_plugin (xine_t *xine, void *data) {
demux_wav_class_t *this;
@@ -418,7 +412,7 @@ void *demux_wav_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "WAV";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_wc3movie.c b/src/demuxers/demux_wc3movie.c
index 24032da2d..33958cb2c 100644
--- a/src/demuxers/demux_wc3movie.c
+++ b/src/demuxers/demux_wc3movie.c
@@ -722,12 +722,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_mve_class_t *this = (demux_mve_class_t *) this_gen;
-
- free (this);
-}
-
void *demux_wc3movie_init_plugin (xine_t *xine, void *data) {
demux_mve_class_t *this;
@@ -738,7 +732,7 @@ void *demux_wc3movie_init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "WC3 Movie";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_yuv4mpeg2.c b/src/demuxers/demux_yuv4mpeg2.c
index 02165b016..eaed4c274 100644
--- a/src/demuxers/demux_yuv4mpeg2.c
+++ b/src/demuxers/demux_yuv4mpeg2.c
@@ -460,12 +460,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_yuv4mpeg2_class_t *this = (demux_yuv4mpeg2_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_plugin (xine_t *xine, void *data) {
demux_yuv4mpeg2_class_t *this;
@@ -476,7 +470,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->demux_class.identifier = "YUV4MPEG2";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}
diff --git a/src/demuxers/demux_yuv_frames.c b/src/demuxers/demux_yuv_frames.c
index 7f011f5c8..71915cb9a 100644
--- a/src/demuxers/demux_yuv_frames.c
+++ b/src/demuxers/demux_yuv_frames.c
@@ -236,12 +236,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) {
return NULL;
}
-static void class_dispose (demux_class_t *this_gen) {
- demux_yuv_frames_class_t *this = (demux_yuv_frames_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_class (xine_t *xine, void *data) {
demux_yuv_frames_class_t *this;
@@ -252,7 +246,7 @@ static void *init_class (xine_t *xine, void *data) {
this->demux_class.identifier = "YUV_FRAMES";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}