[MPlayer-cvslog] r29516 - trunk/configure

cehoyos subversion at mplayerhq.hu
Fri Aug 14 11:31:16 CEST 2009


Author: cehoyos
Date: Fri Aug 14 11:31:16 2009
New Revision: 29516

Log:
Allow compilation with gcc 2.95.3 if videodev2.h does not support it.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Aug 14 04:15:28 2009	(r29515)
+++ trunk/configure	Fri Aug 14 11:31:16 2009	(r29516)
@@ -7692,7 +7692,7 @@ if test "$_pvr" = auto ; then
 #include <inttypes.h>
 #include <linux/types.h>
 #include <linux/videodev2.h>
-int main(void) { struct v4l2_ext_controls ext; return 0; }
+int main(void) { struct v4l2_ext_controls ext; return ext.controls->value; }
 EOF
   cc_check && _pvr=yes
  fi


More information about the MPlayer-cvslog mailing list