# HG changeset patch # User voroshil # Date 1185680281 0 # Node ID 1c888cc4ebbb0b8dbdfa6b5ef39ec64a904ee902 # Parent 26a32eda16038928a41cb28320d203e35c8b0dce Cosmetics. 10l: forget to move up second routine diff -r 26a32eda1603 -r 1c888cc4ebbb stream/tv.c --- 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) {