diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 15:40:37 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 15:40:37 +0100 |
commit | 32a70cef7fdce1648d6850dafbe78bee04830429 (patch) | |
tree | 537db314667778898110667991063cd9a915e304 /src/video_out/video_out_none.c | |
parent | 448923a2d401f3e21eb586f50c1ca9e2dd6259d9 (diff) | |
download | xine-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/video_out/video_out_none.c')
-rw-r--r-- | src/video_out/video_out_none.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/video_out/video_out_none.c b/src/video_out/video_out_none.c index d339f280d..569fa39ef 100644 --- a/src/video_out/video_out_none.c +++ b/src/video_out/video_out_none.c @@ -269,12 +269,6 @@ static vo_driver_t *open_plugin(video_driver_class_t *driver_class, const void * /* * Class related functions. */ -static void dispose_class (video_driver_class_t *driver_class) { - none_class_t *this = (none_class_t *) driver_class; - - free (this); -} - static void *init_class (xine_t *xine, void *visual) { none_class_t *this; @@ -283,7 +277,7 @@ static void *init_class (xine_t *xine, void *visual) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "none"; this->driver_class.description = N_("xine video output plugin which displays nothing"); - this->driver_class.dispose = dispose_class; + this->driver_class.dispose = default_video_driver_class_dispose; this->config = xine->config; this->xine = xine; |