Mercurial > mplayer.hg
view lirc_mp.h @ 3612:a1522fa7728a
x = malloc(strlen(s) + c) ... strcpy(x, s)
replaced by
x = strdup(s)
Note: sometimes c was 0 and that was a bug
Note2: code still has to be added to check the returned value of these funcs
author | pl |
---|---|
date | Wed, 19 Dec 2001 13:03:22 +0000 |
parents | 3b5f5d1c5041 |
children |
line wrap: on
line source
/* definitions for LIRC support in mplayer written in 2/2001 by Andreas Ackermann acki@acki-netz.de */ #ifndef LIRC_MP_H_ #define LIRC_MP_H_ #include <lirc/lirc_client.h> //extern struct lirc_config *lirc_config; //extern int lirc_is_setup; void lirc_mp_setup(void); void lirc_mp_cleanup(void); int lirc_mp_getinput(void); #endif