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/demuxers/demux_aiff.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/demuxers/demux_aiff.c')
| -rw-r--r-- | src/demuxers/demux_aiff.c | 8 |
1 files changed, 1 insertions, 7 deletions
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; } |
