diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-11-11 17:38:43 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-05-05 10:48:34 +0200 |
commit | 5afb94c817abffad030c6b94d7003dca8aace3d5 (patch) | |
tree | 517222058bab9a1b2ba41abd4a38280388dbf57a /libavcodec/mdec.c | |
parent | 1f1ad8ace040a08edc2646ff638ca42a8828779f (diff) | |
download | ffmpeg-5afb94c817abffad030c6b94d7003dca8aace3d5.tar.gz |
Mark read-only tables as static
Diffstat (limited to 'libavcodec/mdec.c')
-rw-r--r-- | libavcodec/mdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c index 39395e2ea9..4b6056e15c 100644 --- a/libavcodec/mdec.c +++ b/libavcodec/mdec.c @@ -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]); |