summaryrefslogtreecommitdiff
path: root/src/input/input_rtsp.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/input/input_rtsp.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/input/input_rtsp.c')
-rw-r--r--src/input/input_rtsp.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/input/input_rtsp.c b/src/input/input_rtsp.c
index eb79586ad..1d8b1fa84 100644
--- a/src/input/input_rtsp.c
+++ b/src/input/input_rtsp.c
@@ -279,13 +279,6 @@ static input_plugin_t *rtsp_class_get_instance (input_class_t *cls_gen, xine_str
/*
* rtsp input plugin class stuff
*/
-
-static void rtsp_class_dispose (input_class_t *this_gen) {
- rtsp_input_class_t *this = (rtsp_input_class_t *) this_gen;
-
- free (this);
-}
-
static void *init_class (xine_t *xine, void *data) {
rtsp_input_class_t *this;
@@ -299,7 +292,7 @@ static void *init_class (xine_t *xine, void *data) {
this->input_class.description = N_("rtsp streaming input plugin");
this->input_class.get_dir = NULL;
this->input_class.get_autoplay_list = NULL;
- this->input_class.dispose = rtsp_class_dispose;
+ this->input_class.dispose = default_input_class_dispose;
this->input_class.eject_media = NULL;
return this;