[vlc-commits] v4l2: remove stray structure

Rémi Denis-Courmont git at videolan.org
Wed Apr 4 21:41:56 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr  4 22:41:47 2012 +0300| [57ec6a0c15127787ebeaf83702c7d9d3647064cc] | committer: Rémi Denis-Courmont

v4l2: remove stray structure

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=57ec6a0c15127787ebeaf83702c7d9d3647064cc
---

 modules/access/v4l2/demux.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/modules/access/v4l2/demux.c b/modules/access/v4l2/demux.c
index 13bce7e..71e9194 100644
--- a/modules/access/v4l2/demux.c
+++ b/modules/access/v4l2/demux.c
@@ -237,17 +237,6 @@ static vlc_fourcc_t var_InheritFourCC (vlc_object_t *obj, const char *varname)
 }
 #define var_InheritFourCC(o, v) var_InheritFourCC(VLC_OBJECT(o), v)
 
-/**
- * List of V4L2 chromas were confident enough to use as fallbacks if the
- * user hasn't provided a --v4l2-chroma value.
- *
- * Try YUV chromas first, then RGB little endian and MJPEG as last resort.
- */
-static const uint32_t p_chroma_fallbacks[] =
-{ V4L2_PIX_FMT_YUV420, V4L2_PIX_FMT_YVU420, V4L2_PIX_FMT_YUV422P,
-  V4L2_PIX_FMT_YUYV, V4L2_PIX_FMT_UYVY, V4L2_PIX_FMT_BGR24,
-  V4L2_PIX_FMT_BGR32, V4L2_PIX_FMT_MJPEG, V4L2_PIX_FMT_JPEG };
-
 static int InitVideo (demux_t *demux, int fd)
 {
     demux_sys_t *sys = demux->p_sys;



More information about the vlc-commits mailing list