From 154c8bf60b65654ba28e47e5b38f70e1f1e5d90c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 2 Aug 2013 23:12:26 +0200 Subject: [PATCH] avcodec/mdec: make block_index static const --- libavcodec/mdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);