Commit 490c189b authored by Luca Abeni's avatar Luca Abeni

Disable v4l2 is videodev2.h is not "sanitized"

Originally committed as revision 5285 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 32ba6fb1
......@@ -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
......
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