mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Include the correct video4linux2 header
Originally committed as revision 5430 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
22a0e90712
commit
f743a06236
3
configure
vendored
3
configure
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user