[MPlayer-cvslog] r37779 - trunk/configure
rtogni
subversion at mplayerhq.hu
Sat Feb 20 23:16:04 CET 2016
Author: rtogni
Date: Sat Feb 20 23:16:03 2016
New Revision: 37779
Log:
Fix compilation if v4l2_query_ext_ctrl is not defined in linux/videodev2.h
The attached patch fixes a build error if the header linux/videodev2.h
defines struct v4l2_ext_controls, but not struct v4l2_query_ext_ctrl. This
is the case on Ubuntu 14.04.4 LTS, for example.
Fixes compilation after r37746 for affected systems.
Patch by Erik Auerswald auerswal at unix-ag uni-kl de
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sat Feb 20 17:08:39 2016 (r37778)
+++ trunk/configure Sat Feb 20 23:16:03 2016 (r37779)
@@ -7760,7 +7760,11 @@ if test "$_pvr" = auto && test "$_tv_v4l
cat > $TMPC <<EOF
#include <sys/time.h>
#include <linux/videodev2.h>
-int main(void) { struct v4l2_ext_controls ext; return ext.controls->value; }
+int main(void) {
+ struct v4l2_ext_controls ext;
+ struct v4l2_query_ext_ctrl qctrl;
+ return ext.controls->value;
+}
EOF
cc_check && _pvr=yes
fi
More information about the MPlayer-cvslog
mailing list