view input/lirc.h @ 25746:330af0160c2d

Fix code to prevent from accessing queue->packets[-1].pts that causes a crash. Found and patched by Reimar.
author ulion
date Thu, 17 Jan 2008 02:18:49 +0000
parents e9762f29d465
children 4129c8cfa742
line wrap: on
line source

#ifndef LIRC_H
#define LIRC_H

int 
mp_input_lirc_init(void);

int
mp_input_lirc_read(int fd,char* dest, int s);

void
mp_input_lirc_close(int fd);

#endif /* LIRC_H */