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
This commit is contained in:
diego
2010-09-11 23:53:15 +00:00
committed by Uoti Urpala
parent 1913d92f25
commit a64cd8d3c8
6 changed files with 20 additions and 18 deletions

View File

@@ -68,17 +68,6 @@ static tvi_handle_t *new_handle(void)
return h;
}
static void free_handle(tvi_handle_t *h)
{
if (h) {
if (h->priv)
free(h->priv);
if (h->scan)
free(h->scan);
free(h);
}
}
/**
Fills video frame in given buffer with blue color for yv12,i420,uyvy,yuy2.
Other formats will be filled with 0xC0