summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2010-03-21 09:54:21 +0000
committerphintuka <phintuka>2010-03-21 09:54:21 +0000
commitb2a67cdf7f4cb4b748927cc05ab62d1d8390fe3d (patch)
tree57b9117518f94cc4446b667f659f16dec79648d8
parent67f4ac9a449f1b7c217f4d2b53d589a42db3836f (diff)
downloadxineliboutput-b2a67cdf7f4cb4b748927cc05ab62d1d8390fe3d.tar.gz
xineliboutput-b2a67cdf7f4cb4b748927cc05ab62d1d8390fe3d.tar.bz2
Fixed metronom_exit (segfault)
-rw-r--r--xine/xvdr_metronom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xine/xvdr_metronom.c b/xine/xvdr_metronom.c
index cc2b48d1..506f965c 100644
--- a/xine/xvdr_metronom.c
+++ b/xine/xvdr_metronom.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xvdr_metronom.c,v 1.7 2010-02-19 13:44:57 phintuka Exp $
+ * $Id: xvdr_metronom.c,v 1.8 2010-03-21 09:54:21 phintuka Exp $
*
*/
@@ -130,10 +130,11 @@ static void metronom_exit(metronom_t *metronom)
/* un-hook */
this->stream->metronom = this->orig_metronom;
- this->orig_metronom = NULL;
this->stream = NULL;
this->orig_metronom->exit(this->orig_metronom);
+
+ this->orig_metronom = NULL;
}
/*