diff ratecontrol.c @ 1057:bb5de8a59da8 libavcodec

* static,const,compiler warning cleanup
author kabi
date Mon, 10 Feb 2003 09:35:32 +0000
parents 19de1445beb2
children 1e39f273ecd6
line wrap: on
line diff
--- a/ratecontrol.c	Sun Feb 09 16:58:47 2003 +0000
+++ b/ratecontrol.c	Mon Feb 10 09:35:32 2003 +0000
@@ -250,7 +250,7 @@
         (rcc->i_cplx_sum[pict_type] + rcc->p_cplx_sum[pict_type]) / (double)rcc->frame_count[pict_type],
         0
     };
-    char *const_names[]={
+    static const char *const_names[]={
         "PI",
         "E",
         "iTex",
@@ -282,7 +282,7 @@
         (void *)qp2bits,
         NULL
     };
-    char *func1_names[]={
+    static const char *func1_names[]={
         "bits2qp",
         "qp2bits",
         NULL