[FFmpeg-cvslog] r14852 - in trunk/libavdevice: v4l.c v4l2.c

michael subversion
Tue Aug 19 23:20:39 CEST 2008


Author: michael
Date: Tue Aug 19 23:20:39 2008
New Revision: 14852

Log:
Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.


Modified:
   trunk/libavdevice/v4l.c
   trunk/libavdevice/v4l2.c

Modified: trunk/libavdevice/v4l.c
==============================================================================
--- trunk/libavdevice/v4l.c	(original)
+++ trunk/libavdevice/v4l.c	Tue Aug 19 23:20:39 2008
@@ -19,6 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#undef __STRICT_ANSI__ //workaround due to broken kernel headers
 #include "config.h"
 #include "libavformat/avformat.h"
 #include "libavcodec/dsputil.h"

Modified: trunk/libavdevice/v4l2.c
==============================================================================
--- trunk/libavdevice/v4l2.c	(original)
+++ trunk/libavdevice/v4l2.c	Tue Aug 19 23:20:39 2008
@@ -27,6 +27,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#undef __STRICT_ANSI__ //workaround due to broken kernel headers
 #include "config.h"
 #include "libavformat/avformat.h"
 #include <unistd.h>




More information about the ffmpeg-cvslog mailing list