changeset 29831:8f20788b3610

Set demuxer->teletext to NULL when closing the TV interface, since analog teletext can not (yet) work without the TV interface.
author reimar
date Tue, 10 Nov 2009 11:24:29 +0000
parents 9fcc27d1fe1f
children 07a96d936943
files stream/tv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/tv.c	Tue Nov 10 10:40:34 2009 +0000
+++ b/stream/tv.c	Tue Nov 10 11:24:29 2009 +0000
@@ -831,6 +831,7 @@
     tv_uninit(tvh);
     free(tvh);
     demuxer->priv=NULL;
+    demuxer->teletext=NULL;
 }
 
 /* utilities for mplayer (not mencoder!!) */