Mercurial > libavformat.hg
comparison grab.c @ 236:ee98d63dbba7 libavformat
kernel header bug workaround by (Ronald Bultje <rbultje at ronald dot bitfreak dot net>)
author | michaelni |
---|---|
date | Tue, 09 Sep 2003 19:14:05 +0000 |
parents | 7d698c3213a0 |
children | 845f9de2c883 |
comparison
equal
deleted
inserted
replaced
235:5b5ca8b953f8 | 236:ee98d63dbba7 |
---|---|
15 * You should have received a copy of the GNU Lesser General Public | 15 * You should have received a copy of the GNU Lesser General Public |
16 * License along with this library; if not, write to the Free Software | 16 * License along with this library; if not, write to the Free Software |
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 */ | 18 */ |
19 #include "avformat.h" | 19 #include "avformat.h" |
20 #include <linux/videodev.h> | |
21 #include <unistd.h> | 20 #include <unistd.h> |
22 #include <fcntl.h> | 21 #include <fcntl.h> |
23 #include <sys/ioctl.h> | 22 #include <sys/ioctl.h> |
24 #include <sys/mman.h> | 23 #include <sys/mman.h> |
25 #include <sys/time.h> | 24 #include <sys/time.h> |
25 #define _LINUX_TIME_H 1 | |
26 #include <linux/videodev.h> | |
26 #include <time.h> | 27 #include <time.h> |
27 | 28 |
28 typedef struct { | 29 typedef struct { |
29 int fd; | 30 int fd; |
30 int frame_format; /* see VIDEO_PALETTE_xxx */ | 31 int frame_format; /* see VIDEO_PALETTE_xxx */ |