Commit ffb97914 authored by lucabe's avatar lucabe

Include the correct video4linux2 header


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5430 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 47d2238c
......@@ -1273,7 +1273,8 @@ if test "$v4l2" = "yes"; then
# check for video4linux2 --- V4L2_PIX_FMT_YUV420
cat > $TMPC << EOF
#include <sys/time.h>
#include <linux/videodev.h>
#include <asm/types.h>
#include <linux/videodev2.h>
int dummy = V4L2_PIX_FMT_YUV420;
struct v4l2_buffer dummy1;
EOF
......
......@@ -30,8 +30,8 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/time.h>
#define _LINUX_TIME_H 1
#include <linux/videodev.h>
#include <asm/types.h>
#include <linux/videodev2.h>
#include <time.h>
static const int desired_video_buffers = 256;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment