summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/input_dvb.c2
-rw-r--r--src/input/input_v4l.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c
index 1e876f251..e6daf423b 100644
--- a/src/input/input_dvb.c
+++ b/src/input/input_dvb.c
@@ -1598,7 +1598,7 @@ static void load_epg_data(dvb_input_plugin_t *this)
case 0x54: { /* Content Descriptor, riveting stuff */
int content_bits = getbits(eit, 8, 4);
- static const char *content[] = {
+ static const char *const content[] = {
"UNKNOWN","MOVIE","NEWS","ENTERTAINMENT","SPORT",
"CHILDRENS","MUSIC","ARTS/CULTURE","CURRENT AFFAIRS",
"EDUCATIONAL","INFOTAINMENT","SPECIAL","COMEDY","DRAMA",
diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c
index 34ebcdc27..7af8788ff 100644
--- a/src/input/input_v4l.c
+++ b/src/input/input_v4l.c
@@ -110,7 +110,7 @@ static const resolution_t resolutions[] = {
{ 160, 120 }
};
-static const char *tv_standard_names[] = { "PAL", "NTSC", "SECAM", NULL };
+static const char *const tv_standard_names[] = { "PAL", "NTSC", "SECAM", NULL };
static const int tv_standard_values[] = { VIDEO_MODE_PAL, VIDEO_MODE_NTSC, VIDEO_MODE_SECAM };
#define NUM_RESOLUTIONS (sizeof(resolutions)/sizeof(resolutions[0]))