Browse code

Make inter_rvlc and intra_rvlc static tables.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 84ae8936f642042fe7ad3466ce3a26dec77016f1)

Diego Elio Pettenò authored on 2011/01/25 08:36:19
Showing 2 changed files
... ...
@@ -115,7 +115,7 @@ RLTable ff_mpeg4_rl_intra = {
115 115
 };
116 116
 
117 117
 /* Note this is identical to the intra rvlc except that it is reordered. */
118
-const uint16_t inter_rvlc[170][2]={
118
+static const uint16_t inter_rvlc[170][2]={
119 119
 {0x0006,  3},{0x0001,  4},{0x0004,  5},{0x001C,  7},
120 120
 {0x003C,  8},{0x003D,  8},{0x007C,  9},{0x00FC, 10},
121 121
 {0x00FD, 10},{0x01FC, 11},{0x01FD, 11},{0x03FC, 12},
... ...
@@ -219,7 +219,7 @@ RLTable rvlc_rl_inter = {
219 219
     inter_rvlc_level,
220 220
 };
221 221
 
222
-const uint16_t intra_rvlc[170][2]={
222
+static const uint16_t intra_rvlc[170][2]={
223 223
 {0x0006,  3},{0x0007,  3},{0x000A,  4},{0x0009,  5},
224 224
 {0x0014,  6},{0x0015,  6},{0x0034,  7},{0x0074,  8},
225 225
 {0x0075,  8},{0x00DD,  9},{0x00EC,  9},{0x01EC, 10},
... ...
@@ -66,10 +66,7 @@ extern const uint16_t ff_mpeg4_intra_vlc[103][2];
66 66
 extern RLTable ff_mpeg4_rl_intra;
67 67
 
68 68
 /* Note this is identical to the intra rvlc except that it is reordered. */
69
-extern const uint16_t inter_rvlc[170][2];
70 69
 extern RLTable rvlc_rl_inter;
71
-
72
-extern const uint16_t intra_rvlc[170][2];
73 70
 extern RLTable rvlc_rl_intra;
74 71
 
75 72
 extern const uint16_t sprite_trajectory_tab[15][2];