comparison opt.c @ 7129:322023e630a6 libavcodec

mark read-only data as const
author stefang
date Tue, 24 Jun 2008 20:01:31 +0000
parents 9bfb69f1739e
children d5a52b28c9de
comparison
equal deleted inserted replaced
7128:614bc53e67a8 7129:322023e630a6
92 } 92 }
93 } 93 }
94 return ret; 94 return ret;
95 } 95 }
96 96
97 static double const_values[]={ 97 static const double const_values[]={
98 M_PI, 98 M_PI,
99 M_E, 99 M_E,
100 FF_QP2LAMBDA, 100 FF_QP2LAMBDA,
101 0 101 0
102 }; 102 };
103 103
104 static const char *const_names[]={ 104 static const char * const const_names[]={
105 "PI", 105 "PI",
106 "E", 106 "E",
107 "QP2LAMBDA", 107 "QP2LAMBDA",
108 0 108 0
109 }; 109 };