diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-18 00:46:03 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-18 00:53:17 +0100 |
commit | 54b2bddd22fb32a67038848b8d2394bee671b143 (patch) | |
tree | 52e46c598f66635ea5f240782b96a7fe602edb20 | |
parent | f4e29c408ceae9f34b427fbe3d8b6706478c36f9 (diff) | |
download | ffmpeg-54b2bddd22fb32a67038848b8d2394bee671b143.tar.gz |
v4l2: try to fix build on BSD
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavdevice/v4l2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index a02736904c..5287bc158d 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -150,7 +150,9 @@ static struct fmt_map fmt_conversion_table[] = { { AV_PIX_FMT_BGR0, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_BGR32 }, { AV_PIX_FMT_0RGB, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_RGB32 }, { AV_PIX_FMT_GRAY8, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_GREY }, +#ifdef V4L2_PIX_FMT_Y16 { AV_PIX_FMT_GRAY16LE,AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_Y16 }, +#endif { AV_PIX_FMT_NV12, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_NV12 }, { AV_PIX_FMT_NONE, AV_CODEC_ID_MJPEG, V4L2_PIX_FMT_MJPEG }, { AV_PIX_FMT_NONE, AV_CODEC_ID_MJPEG, V4L2_PIX_FMT_JPEG }, |