From e9548a5aecf7a8497e4caab05a6fe0f45271bf1f Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 23 Jan 2008 18:54:14 +0000 Subject: Add a few const attributes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25838 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_zr2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libvo/vo_zr2.c') 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) { -- cgit v1.2.3