Skip to content
Snippets Groups Projects
Commit 490c189b authored by Luca Abeni's avatar Luca Abeni
Browse files

Disable v4l2 is videodev2.h is not "sanitized"

Originally committed as revision 5285 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 32ba6fb1
Branches
Tags
No related merge requests found
...@@ -1267,6 +1267,7 @@ cat > $TMPC << EOF ...@@ -1267,6 +1267,7 @@ cat > $TMPC << EOF
#include <sys/time.h> #include <sys/time.h>
#include <linux/videodev.h> #include <linux/videodev.h>
int dummy = V4L2_PIX_FMT_YUV420; int dummy = V4L2_PIX_FMT_YUV420;
struct v4l2_buffer dummy1;
EOF EOF
$cc -c -o $TMPE $TMPC 2> /dev/null || v4l2="no" $cc -c -o $TMPE $TMPC 2> /dev/null || v4l2="no"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment