diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-09-11 23:53:15 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:16:46 +0200 |
commit | a64cd8d3c802f91ae77d1cf20ee9300bea079cd6 (patch) | |
tree | 05e1893dfc41c6fd4ad74523a932acd9975bce50 /stream/tvi_dshow.c | |
parent | 1913d92f25847a04170e0fec9dde37059cd4c95d (diff) | |
download | mpv-a64cd8d3c802f91ae77d1cf20ee9300bea079cd6.tar.bz2 mpv-a64cd8d3c802f91ae77d1cf20ee9300bea079cd6.tar.xz |
stream/tv: move free_handle() from header to tv.c
Move TV input free_handle static function to tv.c and make it non-static.
There is no need to duplicate the function in the binary.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32174 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tvi_dshow.c')
-rw-r--r-- | stream/tvi_dshow.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stream/tvi_dshow.c b/stream/tvi_dshow.c index 0b60fff255..1aedc10642 100644 --- a/stream/tvi_dshow.c +++ b/stream/tvi_dshow.c @@ -3077,12 +3077,12 @@ static tvi_handle_t *tvi_init_dshow(tv_param_t* tv_param) priv->dev_index = a; } else { mp_tmsg(MSGT_TV, MSGL_ERR, "tvi_dshow: Wrong device parameter: %s\n", tv_param->device); - free_handle(h); + tv_free_handle(h); return NULL; } if (priv->dev_index < 0) { mp_tmsg(MSGT_TV, MSGL_ERR, "tvi_dshow: Wrong device index: %d\n", a); - free_handle(h); + tv_free_handle(h); return NULL; } } @@ -3091,12 +3091,12 @@ static tvi_handle_t *tvi_init_dshow(tv_param_t* tv_param) priv->adev_index = a; } else { mp_tmsg(MSGT_TV, MSGL_ERR, "tvi_dshow: Wrong adevice parameter: %s\n", tv_param->adevice); - free_handle(h); + tv_free_handle(h); return NULL; } if (priv->dev_index < 0) { mp_tmsg(MSGT_TV, MSGL_ERR, "tvi_dshow: Wrong adevice index: %d\n", a); - free_handle(h); + tv_free_handle(h); return NULL; } } |