comparison stream/tv.c @ 23485:f6b20f40a854

Fix compiler warnings. Remove unused tv_param_on variable.
author voroshil
date Fri, 08 Jun 2007 06:08:51 +0000
parents e7b4c913dc31
children a6c619ee9d30
comparison
equal deleted inserted replaced
23484:4c1ce861ed82 23485:f6b20f40a854
17 #include <ctype.h> 17 #include <ctype.h>
18 #include <sys/time.h> 18 #include <sys/time.h>
19 19
20 #include "config.h" 20 #include "config.h"
21 21
22 int tv_param_on = 0;
23 22
24 #include "mp_msg.h" 23 #include "mp_msg.h"
25 #include "help_mp.h" 24 #include "help_mp.h"
26 25
27 #include "stream.h" 26 #include "stream.h"
666 /* ================== STREAM_TV ===================== */ 665 /* ================== STREAM_TV ===================== */
667 666
668 tvi_handle_t *tv_begin(void) 667 tvi_handle_t *tv_begin(void)
669 { 668 {
670 int i; 669 int i;
671 tvi_info_t* info;
672 tvi_handle_t* h; 670 tvi_handle_t* h;
673 if(!strcmp(tv_param_driver,"help")){ 671 if(!strcmp(tv_param_driver,"help")){
674 mp_msg(MSGT_TV,MSGL_INFO,MSGTR_TV_AvailableDrivers); 672 mp_msg(MSGT_TV,MSGL_INFO,MSGTR_TV_AvailableDrivers);
675 for(i=0;tvi_driver_list[i];i++){ 673 for(i=0;tvi_driver_list[i];i++){
676 mp_msg(MSGT_TV,MSGL_INFO," %s\t%s",tvi_driver_list[i]->short_name,tvi_driver_list[i]->name); 674 mp_msg(MSGT_TV,MSGL_INFO," %s\t%s",tvi_driver_list[i]->short_name,tvi_driver_list[i]->name);