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_def.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'stream/tvi_def.h') diff --git a/stream/tvi_def.h b/stream/tvi_def.h index 43de8c6423..01c2222621 100644 --- a/stream/tvi_def.h +++ b/stream/tvi_def.h @@ -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 -- cgit v1.2.3