Mercurial > mplayer.hg
changeset 25810:7d81806e92dd
Add a few const attributes
author | reimar |
---|---|
date | Wed, 23 Jan 2008 18:54:14 +0000 |
parents | 7c4ba42d7328 |
children | 75d30197fe2a |
files | libvo/vo_zr2.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_zr2.c Wed Jan 23 14:32:15 2008 +0000 +++ b/libvo/vo_zr2.c Wed Jan 23 18:54:14 2008 +0000 @@ -81,7 +81,7 @@ 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 @@ "/dev/v4l", NULL }; - char **dev = devs; + const char * const *dev = devs; if (suggestion) { if (!*suggestion) {