]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mdec.c
Mark read-only tables as static
[ffmpeg] / libavcodec / mdec.c
index 39395e2ea98b0ba8a1be933c72d96182f69977b4..4b6056e15cffe0585e8b9edf4c859fcd919e6cbb 100644 (file)
@@ -129,7 +129,7 @@ static inline int mdec_decode_block_intra(MDECContext *a, int16_t *block, int n)
 static inline int decode_mb(MDECContext *a, int16_t block[6][64])
 {
     int i, ret;
-    const int block_index[6] = { 5, 4, 0, 1, 2, 3 };
+    static const int block_index[6] = { 5, 4, 0, 1, 2, 3 };
 
     a->bdsp.clear_blocks(block[0]);