mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libmpcodecs: Fix compilation due to missing static in suncc.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8a21613821
commit
3554c2fafc
@ -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, },
|
||||
|
Loading…
Reference in New Issue
Block a user