Commit da5c8660 authored by alex's avatar alex

improve video4linux2 detection (without sys/time.h it was complaining about struct timeval


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5009 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 985d1987
......@@ -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
......
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