diff ratecontrol.c @ 7129:322023e630a6 libavcodec

mark read-only data as const
author stefang
date Tue, 24 Jun 2008 20:01:31 +0000
parents 25dcd46b8160
children 6248b6b16e47
line wrap: on
line diff
--- a/ratecontrol.c	Tue Jun 24 18:38:55 2008 +0000
+++ b/ratecontrol.c	Tue Jun 24 20:01:31 2008 +0000
@@ -67,7 +67,7 @@
     RateControlContext *rcc= &s->rc_context;
     int i;
     const char *error = NULL;
-    static const char *const_names[]={
+    static const char * const const_names[]={
         "PI",
         "E",
         "iTex",
@@ -99,7 +99,7 @@
         (void *)qp2bits,
         NULL
     };
-    static const char *func1_names[]={
+    static const char * const func1_names[]={
         "bits2qp",
         "qp2bits",
         NULL