aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-02 23:12:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-02 23:12:26 +0200
commit154c8bf60b65654ba28e47e5b38f70e1f1e5d90c (patch)
treec0cdfb064c5664be8e6ab5cf626a8f6fa49be9e0 /libavcodec/mdec.c
parentf19a23bd4fb689aea800251cb261597b8d25e06f (diff)
downloadffmpeg-154c8bf60b65654ba28e47e5b38f70e1f1e5d90c.tar.gz
avcodec/mdec: make block_index static const
Diffstat (limited to 'libavcodec/mdec.c')
-rw-r--r--libavcodec/mdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c
index 8fb29ce1eb..bd1966ebfb 100644
--- a/libavcodec/mdec.c
+++ b/libavcodec/mdec.c
@@ -121,7 +121,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->dsp.clear_blocks(block[0]);