changeset 5159:e7eb86fbe4c1 libavformat

100l, all avlanguage tables should be both static and const.
author reimar
date Sun, 06 Sep 2009 08:36:25 +0000
parents 26ba0ebacbb2
children eb33b7205b3c
files avlanguage.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/avlanguage.c	Sat Sep 05 19:31:01 2009 +0000
+++ b/avlanguage.c	Sun Sep 06 08:36:25 2009 +0000
@@ -29,10 +29,10 @@
     uint16_t next_equivalent;
 } LangEntry;
 
-const uint16_t lang_table_counts[] = { 484, 20, 184 };
-const uint16_t lang_table_offsets[] = { 0, 484, 504 };
+static const uint16_t lang_table_counts[] = { 484, 20, 184 };
+static const uint16_t lang_table_offsets[] = { 0, 484, 504 };
 
-static LangEntry lang_table[] = {
+static const LangEntry lang_table[] = {
     /*----- AV_LANG_ISO639_2_BIBL entries (484) -----*/
     /*0000*/ { "aar",  504 },
     /*0001*/ { "abk",  505 },