diff options
author | Måns Rullgård <mans@mansr.com> | 2007-02-10 21:30:20 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-02-10 21:30:20 +0000 |
commit | 6c7aaa48addb60f7a61104d46f3fc70bc9e3eb5d (patch) | |
tree | 7fac4ff3855c8e7bb331cda8d9ed00ab50d6d51e /configure | |
parent | 392b76ca93442927143faaaea9ad774ea01df34a (diff) | |
download | ffmpeg-6c7aaa48addb60f7a61104d46f3fc70bc9e3eb5d.tar.gz |
simplify video4linux2 test
Originally committed as revision 7908 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1775,14 +1775,7 @@ int main( void ) { } EOF -# check for video4linux2 --- V4L2_PIX_FMT_YUV420 -enabled video4linux2 && check_cc <<EOF || video4linux2="no" -#include <sys/time.h> -#include <asm/types.h> -#include <linux/videodev2.h> -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 |