[vlc-devel] commit: v4l: const decl. in line with v4l2.c (Derk-Jan Hartman )
git version control
git at videolan.org
Sun Aug 3 13:38:45 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Sun Aug 3 13:25:45 2008 +0200| [13e50f690551fa0ae5d6b1a8243c46792ad2cd47] | committer: Derk-Jan Hartman
v4l: const decl. in line with v4l2.c
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13e50f690551fa0ae5d6b1a8243c46792ad2cd47
---
modules/access/v4l.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/v4l.c b/modules/access/v4l.c
index 00ccfb6..72e2381 100644
--- a/modules/access/v4l.c
+++ b/modules/access/v4l.c
@@ -141,7 +141,7 @@ static void Close( vlc_object_t * );
#define FPS_LONGTEXT N_( "Framerate to capture, if applicable " \
"(-1 for autodetect)." )
-static int i_norm_list[] =
+static const int i_norm_list[] =
{ VIDEO_MODE_AUTO, VIDEO_MODE_SECAM, VIDEO_MODE_PAL, VIDEO_MODE_NTSC };
static const char *const psz_norm_list_text[] =
{ N_("Automatic"), N_("SECAM"), N_("PAL"), N_("NTSC") };
@@ -225,7 +225,7 @@ struct quicktime_mjpeg_app1
uint32_t i_data_offset; /* following SOS marker data */
};
-static struct
+static const struct
{
int i_v4l;
int i_fourcc;
More information about the vlc-devel
mailing list