From 3554c2fafc46861624cbb634e175277b26eb1664 Mon Sep 17 00:00:00 2001 From: Matt Oliver Date: Fri, 9 May 2014 15:19:35 +1000 Subject: libmpcodecs: Fix compilation due to missing static in suncc. Signed-off-by: Michael Niedermayer --- libavfilter/libmpcodecs/vf_fspp.c | 2 +- libavfilter/libmpcodecs/vf_pp7.c | 2 +- libavfilter/libmpcodecs/vf_uspp.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libavfilter/libmpcodecs') 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, }, -- cgit v1.2.3