From 6c7aaa48addb60f7a61104d46f3fc70bc9e3eb5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sat, 10 Feb 2007 21:30:20 +0000 Subject: [PATCH] simplify video4linux2 test Originally committed as revision 7908 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/configure b/configure index 7882106cbe..987329f009 100755 --- a/configure +++ b/configure @@ -1775,14 +1775,7 @@ int main( void ) { } EOF -# check for video4linux2 --- V4L2_PIX_FMT_YUV420 -enabled video4linux2 && check_cc < -#include -#include -int dummy = V4L2_PIX_FMT_YUV420; -struct v4l2_buffer dummy1; -EOF +enabled video4linux2 && check_header linux/videodev2.h || disable video4linux2 # check for ioctl_meteor.h, ioctl_bt848.h and alternatives if enabled bktr; then