summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_flv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_flv.c')
-rw-r--r--src/demuxers/demux_flv.c8
1 files changed, 1 insertions, 7 deletions
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;
}