Cosmetics.

10l: forget to move up second routine



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23900 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
voroshil 2007-07-29 03:38:01 +00:00
parent 96addffa41
commit d68160b3c2
1 changed files with 10 additions and 10 deletions

View File

@ -539,6 +539,16 @@ tvi_handle_t *tv_begin(void)
return(NULL);
}
int tv_uninit(tvi_handle_t *tvh)
{
int res;
if(!tvh) return 1;
if (!tvh->priv) return 1;
res=tvh->functions->uninit(tvh->priv);
if(res) tvh->priv=NULL;
return res;
}
static demuxer_t* demux_open_tv(demuxer_t *demuxer)
{
tvi_handle_t *tvh;
@ -697,16 +707,6 @@ static void demux_close_tv(demuxer_t *demuxer)
demuxer->priv=NULL;
}
int tv_uninit(tvi_handle_t *tvh)
{
int res;
if(!tvh) return 1;
if (!tvh->priv) return 1;
res=tvh->functions->uninit(tvh->priv);
if(res) tvh->priv=NULL;
return res;
}
/* utilities for mplayer (not mencoder!!) */
int tv_set_color_options(tvi_handle_t *tvh, int opt, int value)
{