summaryrefslogtreecommitdiff
path: root/src/libw32dll
diff options
context:
space:
mode:
Diffstat (limited to 'src/libw32dll')
-rw-r--r--src/libw32dll/qt_decoder.c13
-rw-r--r--src/libw32dll/w32codec.c13
2 files changed, 4 insertions, 22 deletions
diff --git a/src/libw32dll/qt_decoder.c b/src/libw32dll/qt_decoder.c
index 9954d63de..9967b8e70 100644
--- a/src/libw32dll/qt_decoder.c
+++ b/src/libw32dll/qt_decoder.c
@@ -569,11 +569,6 @@ static audio_decoder_t *qta_open_plugin (audio_decoder_class_t *class_gen,
/*
* qta plugin class
*/
-
-static void qta_dispose_class (audio_decoder_class_t *this) {
- free (this);
-}
-
static void *qta_init_class (xine_t *xine, void *data) {
qta_class_t *this;
@@ -589,7 +584,7 @@ static void *qta_init_class (xine_t *xine, void *data) {
this->decoder_class.open_plugin = qta_open_plugin;
this->decoder_class.identifier = "qta";
this->decoder_class.description = N_("quicktime audio decoder plugin");
- this->decoder_class.dispose = qta_dispose_class;
+ this->decoder_class.dispose = default_audio_decoder_class_dispose;
return this;
}
@@ -1073,10 +1068,6 @@ static video_decoder_t *qtv_open_plugin (video_decoder_class_t *class_gen,
* qtv plugin class
*/
-static void qtv_dispose_class (video_decoder_class_t *this) {
- free (this);
-}
-
/*
* some fake functions to make qt codecs happy
*/
@@ -1105,7 +1096,7 @@ static void *qtv_init_class (xine_t *xine, void *data) {
this->decoder_class.open_plugin = qtv_open_plugin;
this->decoder_class.identifier = "qtvdec";
this->decoder_class.description = N_("quicktime binary-only codec based video decoder plugin");
- this->decoder_class.dispose = qtv_dispose_class;
+ this->decoder_class.dispose = default_video_decoder_class_dispose;
return this;
}
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c
index e7f13c375..efbf69f67 100644
--- a/src/libw32dll/w32codec.c
+++ b/src/libw32dll/w32codec.c
@@ -1568,10 +1568,6 @@ static video_decoder_t *open_video_decoder_plugin (video_decoder_class_t *class_
* video decoder class
*/
-static void dispose_video_class (video_decoder_class_t *this) {
- free (this);
-}
-
static void init_routine(void) {
pthread_mutex_init (&win32_codec_mutex, NULL);
w32v_init_rgb_ycc();
@@ -1590,7 +1586,7 @@ static void *init_video_decoder_class (xine_t *xine, void *data) {
this->decoder_class.open_plugin = open_video_decoder_plugin;
this->decoder_class.identifier = "w32v";
this->decoder_class.description = N_("win32 binary video codec plugin");
- this->decoder_class.dispose = dispose_video_class;
+ this->decoder_class.dispose = default_video_decoder_class_dispose;
pthread_once (&once_control, init_routine);
@@ -1626,11 +1622,6 @@ static audio_decoder_t *open_audio_decoder_plugin (audio_decoder_class_t *class_
/*
* audio decoder plugin class
*/
-
-static void dispose_class (audio_decoder_class_t *this) {
- free (this);
-}
-
static void *init_audio_decoder_class (xine_t *xine, void *data) {
w32a_class_t *this;
@@ -1644,7 +1635,7 @@ static void *init_audio_decoder_class (xine_t *xine, void *data) {
this->decoder_class.open_plugin = open_audio_decoder_plugin;
this->decoder_class.identifier = "win32 audio";
this->decoder_class.description = N_("win32 binary audio codec plugin");
- this->decoder_class.dispose = dispose_class;
+ this->decoder_class.dispose = default_audio_decoder_class_dispose;
pthread_once (&once_control, init_routine);