summaryrefslogtreecommitdiff
path: root/libavformat/avlanguage.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-06 08:36:25 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-06 08:36:25 +0000
commit4d2a4dfd885942c5b4902a1addf3a90091e9245c (patch)
treee0174ceec426330d0fb812c4eb44616b14c6f898 /libavformat/avlanguage.c
parentb8791583e7695b2d9e98a601255313466a1a4113 (diff)
downloadffmpeg-4d2a4dfd885942c5b4902a1addf3a90091e9245c.tar.gz
100l, all avlanguage tables should be both static and const.
Originally committed as revision 19780 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avlanguage.c')
-rw-r--r--libavformat/avlanguage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avlanguage.c b/libavformat/avlanguage.c
index fbe88e78e4..525bf07d27 100644
--- a/libavformat/avlanguage.c
+++ b/libavformat/avlanguage.c
@@ -29,10 +29,10 @@ typedef struct LangEntry {
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 },