[FFmpeg-cvslog] r19780 - trunk/libavformat/avlanguage.c

reimar subversion
Sun Sep 6 10:36:26 CEST 2009


Author: reimar
Date: Sun Sep  6 10:36:25 2009
New Revision: 19780

Log:
100l, all avlanguage tables should be both static and const.

Modified:
   trunk/libavformat/avlanguage.c

Modified: trunk/libavformat/avlanguage.c
==============================================================================
--- trunk/libavformat/avlanguage.c	Sun Sep  6 10:27:23 2009	(r19779)
+++ trunk/libavformat/avlanguage.c	Sun Sep  6 10:36:25 2009	(r19780)
@@ -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 },



More information about the ffmpeg-cvslog mailing list