From a64cd8d3c802f91ae77d1cf20ee9300bea079cd6 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 11 Sep 2010 23:53:15 +0000 Subject: 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 --- stream/tvi_v4l2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stream/tvi_v4l2.c') diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c index 91f574f901..4bdf4c499d 100644 --- a/stream/tvi_v4l2.c +++ b/stream/tvi_v4l2.c @@ -1077,7 +1077,7 @@ static tvi_handle_t *tvi_init_v4l2(tv_param_t* tv_param) PRIV->video_dev = strdup(tv_param->device? tv_param->device: "/dev/video0"); if (!PRIV->video_dev) { - free_handle(tvi_handle); + tv_free_handle(tvi_handle); return NULL; } @@ -1085,7 +1085,7 @@ static tvi_handle_t *tvi_init_v4l2(tv_param_t* tv_param) PRIV->audio_dev = strdup(tv_param->adevice); if (!PRIV->audio_dev) { free(PRIV->video_dev); - free_handle(tvi_handle); + tv_free_handle(tvi_handle); return NULL; } } -- cgit v1.2.3