diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-23 18:54:14 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-23 18:54:14 +0000 |
commit | e9548a5aecf7a8497e4caab05a6fe0f45271bf1f (patch) | |
tree | 3da74ed025dc43d5666e6369c0788cb00bca6029 /libvo/vo_zr2.c | |
parent | 1bc5cc764b86f3ee3db652735a362767548fbe3e (diff) | |
download | mpv-e9548a5aecf7a8497e4caab05a6fe0f45271bf1f.tar.bz2 mpv-e9548a5aecf7a8497e4caab05a6fe0f45271bf1f.tar.xz |
Add a few const attributes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25838 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_zr2.c')
-rw-r--r-- | libvo/vo_zr2.c | 4 |
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) { |