From db5487225c3c410a671c242b1eccaf7877dbee74 Mon Sep 17 00:00:00 2001 From: reynaldo Date: Thu, 27 Jul 2006 17:35:06 +0000 Subject: 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 --- m_option.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm_option.c') 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 -- cgit v1.2.3