summaryrefslogtreecommitdiff
path: root/src/libspucmml/xine_cmml_decoder.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-11 15:40:37 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-11 15:40:37 +0100
commit32a70cef7fdce1648d6850dafbe78bee04830429 (patch)
tree537db314667778898110667991063cd9a915e304 /src/libspucmml/xine_cmml_decoder.c
parent448923a2d401f3e21eb586f50c1ca9e2dd6259d9 (diff)
downloadxine-lib-32a70cef7fdce1648d6850dafbe78bee04830429.tar.gz
xine-lib-32a70cef7fdce1648d6850dafbe78bee04830429.tar.bz2
Use default_*_class_dispose macro whenever the class dispose function only called free().
Diffstat (limited to 'src/libspucmml/xine_cmml_decoder.c')
-rw-r--r--src/libspucmml/xine_cmml_decoder.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libspucmml/xine_cmml_decoder.c b/src/libspucmml/xine_cmml_decoder.c
index 31e6e9302..1223769ff 100644
--- a/src/libspucmml/xine_cmml_decoder.c
+++ b/src/libspucmml/xine_cmml_decoder.c
@@ -490,10 +490,6 @@ static spu_decoder_t *spucmml_class_open_plugin (spu_decoder_class_t *class_gen,
return (spu_decoder_t *) this;
}
-static void spucmml_class_dispose (spu_decoder_class_t *this) {
- free (this);
-}
-
static void update_src_encoding(void *this_gen, xine_cfg_entry_t *entry)
{
spucmml_class_t *this = (spucmml_class_t *)this_gen;
@@ -511,7 +507,7 @@ static void *init_spu_decoder_plugin (xine_t *xine, void *data) {
this->class.open_plugin = spucmml_class_open_plugin;
this->class.identifier = "spucmml";
this->class.description = N_("CMML subtitle decoder plugin");
- this->class.dispose = spucmml_class_dispose;
+ this->class.dispose = default_spu_decoder_class_dispose;
this->xine = xine;