Set demuxer->teletext to NULL when closing the TV interface,

since analog teletext can not (yet) work without the TV interface.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29873 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-11-10 11:24:29 +00:00
parent 78290719a6
commit bd82936f63
1 changed files with 1 additions and 0 deletions

View File

@ -831,6 +831,7 @@ static void demux_close_tv(demuxer_t *demuxer)
tv_uninit(tvh);
free(tvh);
demuxer->priv=NULL;
demuxer->teletext=NULL;
}
/* utilities for mplayer (not mencoder!!) */