Disable v4l2 is videodev2.h is not "sanitized"

Originally committed as revision 5285 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Luca Abeni 2006-04-13 10:00:56 +00:00
parent 32ba6fb141
commit 490c189bc8

1
configure vendored
View File

@ -1267,6 +1267,7 @@ cat > $TMPC << EOF
#include <sys/time.h>
#include <linux/videodev.h>
int dummy = V4L2_PIX_FMT_YUV420;
struct v4l2_buffer dummy1;
EOF
$cc -c -o $TMPE $TMPC 2> /dev/null || v4l2="no"
fi