Mercurial > mplayer.hg
diff m_option.c @ 19194:5949a654e2d4
marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org
author | reynaldo |
---|---|
date | Thu, 27 Jul 2006 17:35:06 +0000 |
parents | 75327b24e06f |
children | 64d82a45a05d |
line wrap: on
line diff
--- a/m_option.c Thu Jul 27 10:52:40 2006 +0000 +++ b/m_option.c Thu Jul 27 17:35:06 2006 +0000 @@ -996,7 +996,7 @@ /* FIXME: snyc with img_format.h */ static struct { - char* name; + const char* name; unsigned int fmt; } mp_imgfmt_list[] = { {"444p", IMGFMT_444P}, @@ -1090,7 +1090,7 @@ /* FIXME: snyc with af_format.h */ static struct { - char* name; + const char* name; unsigned int fmt; } mp_afmt_list[] = { // SPECIAL