From 8939645dcf39c398e1b70b851b3410299ca619ce Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 13 Sep 2010 18:09:29 +0000 Subject: stream/tv: move new_handle() function from header to tv.c Move TV input new_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@32225 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_v4l2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'stream/tvi_v4l2.c') diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c index 4bdf4c499d..7f528d65e5 100644 --- a/stream/tvi_v4l2.c +++ b/stream/tvi_v4l2.c @@ -1068,8 +1068,7 @@ static tvi_handle_t *tvi_init_v4l2(tv_param_t* tv_param) { tvi_handle_t *tvi_handle; - /* new_handle initializes priv with memset 0 */ - tvi_handle = new_handle(); + tvi_handle = tv_new_handle(sizeof(priv_t), &functions); if (!tvi_handle) { return NULL; } -- cgit v1.2.3