summaryrefslogtreecommitdiffstats
path: root/m_option.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-27 17:35:06 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-27 17:35:06 +0000
commitdb5487225c3c410a671c242b1eccaf7877dbee74 (patch)
tree6fa2e6e877b48b4d0e9206afc550c024e3dbd11f /m_option.c
parentb4196c01c7c330627fd9de34dec3a167f9a2dc28 (diff)
downloadmpv-db5487225c3c410a671c242b1eccaf7877dbee74.tar.bz2
mpv-db5487225c3c410a671c242b1eccaf7877dbee74.tar.xz
marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19199 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_option.c')
-rw-r--r--m_option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/m_option.c b/m_option.c
index a2c37b6b74..6ed3b57e97 100644
--- a/m_option.c
+++ b/m_option.c
@@ -996,7 +996,7 @@ m_option_type_t m_option_type_subconfig = {
/* 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 @@ m_option_type_t m_option_type_imgfmt = {
/* FIXME: snyc with af_format.h */
static struct {
- char* name;
+ const char* name;
unsigned int fmt;
} mp_afmt_list[] = {
// SPECIAL