[FFmpeg-devel] [PATCH] libavdevice: Fix v4l2 compilation under FreeBSD

Tom Evans tevans.uk at googlemail.com
Tue Dec 13 20:11:11 CET 2011


On Tue, Dec 13, 2011 at 6:32 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Tue, Dec 13, 2011 at 06:08:14PM +0000, Tom Evans wrote:
>> Hi all
>>
>> FreeBSD supports the v4l2 API via webcamd, which is "…basically an
>> application which is a port of Video4Linux USB drivers into userspace
>> on FreeBSD". Since it is not Linux, it does not have a asm/types.h
>> header.
>>
>> Cheers
>
> a check in configure and a
> #if HAVE_ASM_TYPES_H
> or something like this would be better
>
> please look at the existing header checks in configure, its quite
> simple to do
>

Thanks, I'll change it to do that.

Cheers

Tom


More information about the ffmpeg-devel mailing list