improve video4linux2 detection (without sys/time.h it was complaining about struct timeval
Originally committed as revision 5009 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
eff22cc98b
commit
84fe996379
1 changed files with 1 additions and 0 deletions
1
configure
vendored
1
configure
vendored
|
|
@ -1251,6 +1251,7 @@ fi
|
|||
if test "$v4l2" = "yes"; then
|
||||
# check for video4linux2 --- V4L2_PIX_FMT_YUV420
|
||||
cat > $TMPC << EOF
|
||||
#include <sys/time.h>
|
||||
#include <linux/videodev.h>
|
||||
int dummy = V4L2_PIX_FMT_YUV420;
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue