aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/opt.c
diff options
context:
space:
mode:
authorStefan Gehrer <stefan.gehrer@gmx.de>2008-06-24 20:01:31 +0000
committerStefan Gehrer <stefan.gehrer@gmx.de>2008-06-24 20:01:31 +0000
commitcf2baeb3382283d41eac7886ea831f52262971ba (patch)
tree986724da3ac8630b2903b8edc7a89498e2baf854 /libavcodec/opt.c
parent73cc419b271ac5af8c1aed36b5c0167c7016127a (diff)
downloadffmpeg-cf2baeb3382283d41eac7886ea831f52262971ba.tar.gz
mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/opt.c')
-rw-r--r--libavcodec/opt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/opt.c b/libavcodec/opt.c
index 1b429ab160..321bf6cc27 100644
--- a/libavcodec/opt.c
+++ b/libavcodec/opt.c
@@ -94,14 +94,14 @@ static const AVOption *set_all_opt(void *v, const char *unit, double d){
return ret;
}
-static double const_values[]={
+static const double const_values[]={
M_PI,
M_E,
FF_QP2LAMBDA,
0
};
-static const char *const_names[]={
+static const char * const const_names[]={
"PI",
"E",
"QP2LAMBDA",