changeset 23880:1c888cc4ebbb

Cosmetics. 10l: forget to move up second routine
author voroshil
date Sun, 29 Jul 2007 03:38:01 +0000
parents 26a32eda1603
children 5a5c7866921f
files stream/tv.c
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/stream/tv.c	Sun Jul 29 03:33:39 2007 +0000
+++ b/stream/tv.c	Sun Jul 29 03:38:01 2007 +0000
@@ -539,6 +539,16 @@
     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 @@
     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)
 {