mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-10 03:32:22 +08:00
Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
Originally committed as revision 19089 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
#include "libavutil/x86_cpu.h"
|
||||
#include "libavcodec/dsputil.h"
|
||||
|
||||
static const int m1m1m1m1[4] __attribute__((aligned(16))) =
|
||||
DECLARE_ALIGNED(16, static const int, m1m1m1m1[4]) =
|
||||
{ 1 << 31, 1 << 31, 1 << 31, 1 << 31 };
|
||||
|
||||
void ff_fft_dispatch_sse(FFTComplex *z, int nbits);
|
||||
|
@ -157,7 +157,7 @@ static inline void h264_idct8_1d(int16_t *block)
|
||||
static void ff_h264_idct8_add_mmx(uint8_t *dst, int16_t *block, int stride)
|
||||
{
|
||||
int i;
|
||||
int16_t __attribute__ ((aligned(8))) b2[64];
|
||||
DECLARE_ALIGNED_8(int16_t, b2[64]);
|
||||
|
||||
block[0] += 32;
|
||||
|
||||
|
Reference in New Issue
Block a user