diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-12-30 14:08:56 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-12-30 14:08:56 +0000 |
commit | d5225209114204e7ba405a6397c5f64d64323214 (patch) | |
tree | 30e209a023ba41ab92aab71657037beee8081233 /src | |
parent | 1281942b8d95ee10883a120b532b1504f873ffe2 (diff) | |
download | xine-lib-d5225209114204e7ba405a6397c5f64d64323214.tar.gz xine-lib-d5225209114204e7ba405a6397c5f64d64323214.tar.bz2 |
patch to compile on gcc3 by Chris Rankin
CVS patchset: 1321
CVS date: 2001/12/30 14:08:56
Diffstat (limited to 'src')
-rw-r--r-- | src/libffmpeg/libavcodec/i386/fdct_mmx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libffmpeg/libavcodec/i386/fdct_mmx.c b/src/libffmpeg/libavcodec/i386/fdct_mmx.c index a71b89bb1..e9d48383d 100644 --- a/src/libffmpeg/libavcodec/i386/fdct_mmx.c +++ b/src/libffmpeg/libavcodec/i386/fdct_mmx.c @@ -10,7 +10,7 @@ #include "../common.h" #include "mmx.h" -#define ATTR_ALIGN(align) __attribute__ ((__aligned__ (align))) +//#define ATTR_ALIGN(align) __attribute__ ((__aligned__ (align))) ////////////////////////////////////////////////////////////////////// // @@ -45,8 +45,8 @@ const int16_t ocos_4_16[4] = { 23170, 23170, 23170, 23170, //cos * (2<<15) + 0.5 }; -const mmx_t fdct_one_corr = {0x0001000100010001LL}; -const mmx_t fdct_r_row = {d:{RND_FRW_ROW, RND_FRW_ROW} }; +static const mmx_t fdct_one_corr = {0x0001000100010001LL}; +static volatile mmx_t fdct_r_row = { d:{RND_FRW_ROW, RND_FRW_ROW} }; const int16_t tab_frw_01234567[] ATTR_ALIGN(8) = { // forward_dct coeff table //row0 |