提交 3554c2fa 编写于 作者: M Matt Oliver 提交者: Michael Niedermayer

libmpcodecs: Fix compilation due to missing static in suncc.

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 8a216138
......@@ -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, },
......
......@@ -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, },
......
......@@ -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, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册