summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_aa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/video_out_aa.c')
-rw-r--r--src/video_out/video_out_aa.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/video_out/video_out_aa.c b/src/video_out/video_out_aa.c
index 38fb9f646..5323c3a5e 100644
--- a/src/video_out/video_out_aa.c
+++ b/src/video_out/video_out_aa.c
@@ -300,10 +300,6 @@ static vo_driver_t *open_plugin (video_driver_class_t *class_gen, const void *vi
return &this->vo_driver;
}
-static void dispose_class (video_driver_class_t *this_gen) {
- aa_class_t *this = (aa_class_t *) this_gen;
- free(this);
-}
static void *init_class (xine_t *xine, void *visual_gen) {
/* aa_context *context = (aa_context*) visual_gen; */
aa_class_t *this;
@@ -313,7 +309,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
this->driver_class.open_plugin = open_plugin;
this->driver_class.identifier = "AA";
this->driver_class.description = N_("xine video output plugin using the ascii-art library");
- this->driver_class.dispose = dispose_class;
+ this->driver_class.dispose = default_video_driver_class_dispose;
this->config = xine->config;
this->xine = xine;