[MPlayer-cvslog] r23900 - trunk/stream/tv.c
voroshil
subversion at mplayerhq.hu
Sun Jul 29 05:38:01 CEST 2007
Author: voroshil
Date: Sun Jul 29 05:38:01 2007
New Revision: 23900
Log:
Cosmetics.
10l: forget to move up second routine
Modified:
trunk/stream/tv.c
Modified: trunk/stream/tv.c
==============================================================================
--- trunk/stream/tv.c (original)
+++ trunk/stream/tv.c Sun Jul 29 05:38:01 2007
@@ -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 *de
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)
{
More information about the MPlayer-cvslog
mailing list