Mercurial > mplayer.hg
annotate input/lirc.h @ 26006:ac00f0e343df
vf_sab mirrors coefficients past the edge of the picture instead of cropping:
if (iy<0) iy= -iy;
if(iy>=h) iy= h-iy-1;
This produces -1,-2,-3... as it goes further past the end of an image, which
crashes. Change this to h-1,h-2,h-3.. to avoid the crash.
patch by Alexander Strange, astrange ithinksw com
author | diego |
---|---|
date | Wed, 20 Feb 2008 08:24:26 +0000 |
parents | e9762f29d465 |
children | 4129c8cfa742 |
rev | line source |
---|---|
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
7883
diff
changeset
|
1 #ifndef LIRC_H |
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
7883
diff
changeset
|
2 #define LIRC_H |
4432 | 3 |
4 int | |
5 mp_input_lirc_init(void); | |
6 | |
7883 | 7 int |
8 mp_input_lirc_read(int fd,char* dest, int s); | |
9 | |
4432 | 10 void |
7883 | 11 mp_input_lirc_close(int fd); |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
7883
diff
changeset
|
12 |
25554
e9762f29d465
10l: Replace #define with #endif where I really meant to write #endif.
diego
parents:
25553
diff
changeset
|
13 #endif /* LIRC_H */ |