summaryrefslogtreecommitdiffstats
path: root/stream/tv.c
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-29 03:38:01 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-29 03:38:01 +0000
commitd68160b3c28462db95178eecfd312bf5b6eec58d (patch)
tree525ca78496d1a772c1569cd8dcebfdbeb60f4ef6 /stream/tv.c
parent96addffa41c4bbf0ddea7468fe1782ab38a9e94e (diff)
downloadmpv-d68160b3c28462db95178eecfd312bf5b6eec58d.tar.bz2
mpv-d68160b3c28462db95178eecfd312bf5b6eec58d.tar.xz
Cosmetics.
10l: forget to move up second routine git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23900 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tv.c')
-rw-r--r--stream/tv.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/stream/tv.c b/stream/tv.c
index 94e41cec8c..d61f4d9cf9 100644
--- a/stream/tv.c
+++ b/stream/tv.c
@@ -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)
{