summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_zr2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_zr2.c b/libvo/vo_zr2.c
index 7904d6f098..ed03feb371 100644
--- a/libvo/vo_zr2.c
+++ b/libvo/vo_zr2.c
@@ -81,7 +81,7 @@ static void stop_playing(vo_zr2_priv_t *p) {
static const char *guess_device(const char *suggestion, int inform) {
struct stat vstat;
int res;
- char *devs[] = {
+ static const char * const devs[] = {
"/dev/video",
"/dev/video0",
"/dev/v4l/video0",
@@ -89,7 +89,7 @@ static const char *guess_device(const char *suggestion, int inform) {
"/dev/v4l",
NULL
};
- char **dev = devs;
+ const char * const *dev = devs;
if (suggestion) {
if (!*suggestion) {