diff options
author | Matt Oliver <protogonoi@gmail.com> | 2014-05-09 15:19:35 +1000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-09 18:33:55 +0200 |
commit | 3554c2fafc46861624cbb634e175277b26eb1664 (patch) | |
tree | acc57ece77118bd0daa99d000ab5383da948ce43 /libavfilter/libmpcodecs | |
parent | 8a21613821fd0a4fb4ccd21ca7d7f02d4f616f22 (diff) |
libmpcodecs: Fix compilation due to missing static in suncc.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/libmpcodecs')
-rw-r--r-- | libavfilter/libmpcodecs/vf_fspp.c | 2 | ||||
-rw-r--r-- | libavfilter/libmpcodecs/vf_pp7.c | 2 | ||||
-rw-r--r-- | libavfilter/libmpcodecs/vf_uspp.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/libmpcodecs/vf_fspp.c b/libavfilter/libmpcodecs/vf_fspp.c index 5521efddf9..6a0f976b67 100644 --- a/libavfilter/libmpcodecs/vf_fspp.c +++ b/libavfilter/libmpcodecs/vf_fspp.c @@ -75,7 +75,7 @@ static const short custom_threshold[64]= 20, 27, 26, 23, 20, 15, 11, 5 }; -DECLARE_ASM_CONST(32, uint8_t, dither)[8][8]={ +DECLARE_ALIGNED(32, static const uint8_t, dither)[8][8] = { { 0, 48, 12, 60, 3, 51, 15, 63, }, { 32, 16, 44, 28, 35, 19, 47, 31, }, { 8, 56, 4, 52, 11, 59, 7, 55, }, diff --git a/libavfilter/libmpcodecs/vf_pp7.c b/libavfilter/libmpcodecs/vf_pp7.c index 05421aee05..89ed4fe679 100644 --- a/libavfilter/libmpcodecs/vf_pp7.c +++ b/libavfilter/libmpcodecs/vf_pp7.c @@ -45,7 +45,7 @@ #define XMAX(a,b) ((a) > (b) ? (a) : (b)) //===========================================================================// -DECLARE_ASM_CONST(8, uint8_t, dither)[8][8]={ +DECLARE_ALIGNED(8, static const uint8_t, dither)[8][8] = { { 0, 48, 12, 60, 3, 51, 15, 63, }, { 32, 16, 44, 28, 35, 19, 47, 31, }, { 8, 56, 4, 52, 11, 59, 7, 55, }, diff --git a/libavfilter/libmpcodecs/vf_uspp.c b/libavfilter/libmpcodecs/vf_uspp.c index f1b50d3272..3923f17eee 100644 --- a/libavfilter/libmpcodecs/vf_uspp.c +++ b/libavfilter/libmpcodecs/vf_uspp.c @@ -44,7 +44,7 @@ #define BLOCK 16 //===========================================================================// -DECLARE_ASM_CONST(8, uint8_t, dither)[8][8]={ +DECLARE_ALIGNED(8, static const uint8_t, dither)[8][8] = { { 0*4, 48*4, 12*4, 60*4, 3*4, 51*4, 15*4, 63*4, }, { 32*4, 16*4, 44*4, 28*4, 35*4, 19*4, 47*4, 31*4, }, { 8*4, 56*4, 4*4, 52*4, 11*4, 59*4, 7*4, 55*4, }, |