comparison stream/tv.c @ 32090:535ebcd085e4

Move TV input free_handle static function to tv.c and make it non-static. There is no need to pointlessly duplicate the function in the binary.
author diego
date Sat, 11 Sep 2010 23:53:15 +0000
parents d8408f8f996b
children c08363dc5320
comparison
equal deleted inserted replaced
32089:7f6ac03eb2ce 32090:535ebcd085e4
78 &tvi_info_dshow, 78 &tvi_info_dshow,
79 #endif 79 #endif
80 &tvi_info_dummy, 80 &tvi_info_dummy,
81 NULL 81 NULL
82 }; 82 };
83
84 void tv_free_handle(tvi_handle_t *h)
85 {
86 if (h) {
87 if (h->priv)
88 free(h->priv);
89 if (h->scan)
90 free(h->scan);
91 free(h);
92 }
93 }
83 94
84 void tv_start_scan(tvi_handle_t *tvh, int start) 95 void tv_start_scan(tvi_handle_t *tvh, int start)
85 { 96 {
86 mp_msg(MSGT_TV,MSGL_INFO,"start scan\n"); 97 mp_msg(MSGT_TV,MSGL_INFO,"start scan\n");
87 tvh->tv_param->scan=start?1:0; 98 tvh->tv_param->scan=start?1:0;