diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-11-29 16:05:19 +0100 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-11-29 16:05:19 +0100 |
commit | f01a276b50a52abdcde2c989e01c31a056922e76 (patch) | |
tree | 5fd5b700ac7fb83a08cc89b9ae0b97c8f1e06fbf /libavcodec/texturedspenc.c | |
parent | 28765693955fcfb843009b834d4e2a4fe0211526 (diff) | |
parent | 7831fb90503142e32cc3c9be43bc3f9d342ded6b (diff) | |
download | ffmpeg-streaming-f01a276b50a52abdcde2c989e01c31a056922e76.zip ffmpeg-streaming-f01a276b50a52abdcde2c989e01c31a056922e76.tar.gz |
Merge commit '7831fb90503142e32cc3c9be43bc3f9d342ded6b'
* commit '7831fb90503142e32cc3c9be43bc3f9d342ded6b':
textureencdsp: cosmetics: Use normal static const for tables
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/texturedspenc.c')
-rw-r--r-- | libavcodec/texturedspenc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/texturedspenc.c b/libavcodec/texturedspenc.c index 5bd0777..c5fc70f 100644 --- a/libavcodec/texturedspenc.c +++ b/libavcodec/texturedspenc.c @@ -32,13 +32,13 @@ #include "texturedsp.h" -const static uint8_t expand5[32] = { +static const uint8_t expand5[32] = { 0, 8, 16, 24, 33, 41, 49, 57, 66, 74, 82, 90, 99, 107, 115, 123, 132, 140, 148, 156, 165, 173, 181, 189, 198, 206, 214, 222, 231, 239, 247, 255, }; -const static uint8_t expand6[64] = { +static const uint8_t expand6[64] = { 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 65, 69, 73, 77, 81, 85, 89, 93, 97, 101, 105, 109, 113, 117, 121, 125, 130, 134, 138, 142, @@ -47,7 +47,7 @@ const static uint8_t expand6[64] = { 243, 247, 251, 255, }; -const static uint8_t match5[256][2] = { +static const uint8_t match5[256][2] = { { 0, 0 }, { 0, 0 }, { 0, 1 }, { 0, 1 }, { 1, 0 }, { 1, 0 }, { 1, 0 }, { 1, 1 }, { 1, 1 }, { 2, 0 }, { 2, 0 }, { 0, 4 }, { 2, 1 }, { 2, 1 }, { 2, 1 }, { 3, 0 }, { 3, 0 }, { 3, 0 }, @@ -93,7 +93,7 @@ const static uint8_t match5[256][2] = { { 31, 30 }, { 31, 30 }, { 31, 31 }, { 31, 31 }, }; -const static uint8_t match6[256][2] = { +static const uint8_t match6[256][2] = { { 0, 0 }, { 0, 1 }, { 1, 0 }, { 1, 0 }, { 1, 1 }, { 2, 0 }, { 2, 1 }, { 3, 0 }, { 3, 0 }, { 3, 1 }, { 4, 0 }, { 4, 0 }, { 4, 1 }, { 5, 0 }, { 5, 1 }, { 6, 0 }, { 6, 0 }, { 6, 1 }, |