[Ffmpeg-cvslog] r5464 - in trunk: configure libavformat/grab_bktr.c

diego subversion
Sat Jun 10 14:30:51 CEST 2006


Author: diego
Date: Sat Jun 10 14:30:51 2006
New Revision: 5464

Modified:
   trunk/configure
   trunk/libavformat/grab_bktr.c

Log:
Add support for GNU/kFreeBSD systems.
patch from Petr Salinger submitted by Sam Hocevar


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sat Jun 10 14:30:51 2006
@@ -414,6 +414,15 @@
 CFLAGS="$CFLAGS -pthread"
 FFLDFLAGS="$FFLDFLAGS -export-dynamic -pthread"
 ;;
+GNU/kFreeBSD)
+v4l="no"
+v4l2="no"
+bktr="yes"
+audio_oss="yes"
+dv1394="no"
+CFLAGS="$CFLAGS -pthread"
+LDFLAGS="$LDFLAGS -rdynamic"
+;;
 BSD/OS)
 v4l="no"
 v4l2="no"

Modified: trunk/libavformat/grab_bktr.c
==============================================================================
--- trunk/libavformat/grab_bktr.c	(original)
+++ trunk/libavformat/grab_bktr.c	Sat Jun 10 14:30:51 2006
@@ -30,6 +30,9 @@
 #  include <machine/ioctl_meteor.h>
 #  include <machine/ioctl_bt848.h>
 # endif
+#elif defined(__FreeBSD_kernel__)
+# include <dev/bktr/ioctl_meteor.h>
+# include <dev/bktr/ioctl_bt848.h>
 #elif defined(__DragonFly__)
 # include <dev/video/meteor/ioctl_meteor.h>
 # include <dev/video/bktr/ioctl_bt848.h>




More information about the ffmpeg-cvslog mailing list