diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-09-13 18:09:29 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:16:55 +0200 |
commit | 8939645dcf39c398e1b70b851b3410299ca619ce (patch) | |
tree | 93cada7048d2601ed709c5a79dadd5c7b8add892 /stream/tvi_v4l.c | |
parent | d65c47dfd0125db8ddbc97d1d929f0157ea8dd47 (diff) | |
download | mpv-8939645dcf39c398e1b70b851b3410299ca619ce.tar.bz2 mpv-8939645dcf39c398e1b70b851b3410299ca619ce.tar.xz |
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
Diffstat (limited to 'stream/tvi_v4l.c')
-rw-r--r-- | stream/tvi_v4l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/tvi_v4l.c b/stream/tvi_v4l.c index cc16e92e22..74098f8cae 100644 --- a/stream/tvi_v4l.c +++ b/stream/tvi_v4l.c @@ -309,7 +309,7 @@ static tvi_handle_t *tvi_init_v4l(tv_param_t* tv_param) tvi_handle_t *h; priv_t *priv; - h = new_handle(); + h = tv_new_handle(sizeof(priv_t), &functions); if (!h) return NULL; |