Mercurial > mplayer.hg
comparison input/lirc.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | 418d7d213966 |
children | ca614fc25817 |
comparison
equal
deleted
inserted
replaced
29262:7d545a6b8aff | 29263:0f1b5b68af32 |
---|---|
33 static struct lirc_config *lirc_config; | 33 static struct lirc_config *lirc_config; |
34 char *lirc_configfile; | 34 char *lirc_configfile; |
35 | 35 |
36 static char* cmd_buf = NULL; | 36 static char* cmd_buf = NULL; |
37 | 37 |
38 int | 38 int |
39 mp_input_lirc_init(void) { | 39 mp_input_lirc_init(void) { |
40 int lirc_sock; | 40 int lirc_sock; |
41 int mode; | 41 int mode; |
42 | 42 |
43 mp_msg(MSGT_LIRC,MSGL_V,MSGTR_SettingUpLIRC); | 43 mp_msg(MSGT_LIRC,MSGL_V,MSGTR_SettingUpLIRC); |
79 free(cmd_buf); | 79 free(cmd_buf); |
80 cmd_buf = NULL; | 80 cmd_buf = NULL; |
81 } | 81 } |
82 return w; | 82 return w; |
83 } | 83 } |
84 | 84 |
85 // Nothing in the buffer, poll the lirc fd | 85 // Nothing in the buffer, poll the lirc fd |
86 if(lirc_nextcode(&code) != 0) { | 86 if(lirc_nextcode(&code) != 0) { |
87 mp_msg(MSGT_LIRC,MSGL_ERR,"Lirc error :(\n"); | 87 mp_msg(MSGT_LIRC,MSGL_ERR,"Lirc error :(\n"); |
88 return MP_INPUT_DEAD; | 88 return MP_INPUT_DEAD; |
89 } | 89 } |