diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-06-10 12:30:51 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-06-10 12:30:51 +0000 |
commit | 38f0d3ce7613028337f35dcdc4f8f2aa1070c5e3 (patch) | |
tree | 465c06652026606e537f2f7265de7b8fcfcff825 | |
parent | 3ef17d626fc06d0ba38d8b3a60dc3334d07705a1 (diff) | |
download | ffmpeg-38f0d3ce7613028337f35dcdc4f8f2aa1070c5e3.tar.gz |
Add support for GNU/kFreeBSD systems.
patch from Petr Salinger submitted by Sam Hocevar
Originally committed as revision 5464 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 9 | ||||
-rw-r--r-- | libavformat/grab_bktr.c | 3 |
2 files changed, 12 insertions, 0 deletions
@@ -414,6 +414,15 @@ make="gmake" 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" diff --git a/libavformat/grab_bktr.c b/libavformat/grab_bktr.c index 119a41153d..ddfc96bd4b 100644 --- a/libavformat/grab_bktr.c +++ b/libavformat/grab_bktr.c @@ -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> |