[FFmpeg-cvslog] libmpcodecs: Fix compilation due to missing static in suncc.

Matt Oliver git at videolan.org
Fri May 9 18:35:21 CEST 2014


ffmpeg | branch: master | Matt Oliver <protogonoi at gmail.com> | Fri May  9 15:19:35 2014 +1000| [3554c2fafc46861624cbb634e175277b26eb1664] | committer: Michael Niedermayer

libmpcodecs: Fix compilation due to missing static in suncc.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3554c2fafc46861624cbb634e175277b26eb1664
---

 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(-)

diff --git a/libavfilter/libmpcodecs/vf_fspp.c b/libavfilter/libmpcodecs/vf_fspp.c
index 5521efd..6a0f976 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 05421ae..89ed4fe 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 f1b50d3..3923f17 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, },



More information about the ffmpeg-cvslog mailing list