aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-03-18 17:22:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-18 17:22:23 +0000
commita05c8d7177857c8a78144cbccc512c282065195a (patch)
treeec0abaadaa0b145b37324eac5c79a9d9fb35b954 /libavcodec/mpegaudiodec.c
parentc5a9ab69c26c6c3c567195c748671677d36a908f (diff)
downloadffmpeg-a05c8d7177857c8a78144cbccc512c282065195a.tar.gz
merging a small amount of the changes from BroadQ, the rest is either not clean / doesnt apply / or is PS2 specific (someone with a PS2 should merge/send a patch for the later)
Originally committed as revision 1690 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index a93c280abc..1d1074aa7d 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -86,9 +86,9 @@ typedef struct MPADecodeContext {
int mode;
int mode_ext;
int lsf;
- MPA_INT synth_buf[MPA_MAX_CHANNELS][512 * 2];
+ MPA_INT synth_buf[MPA_MAX_CHANNELS][512 * 2] __attribute__((aligned(16)));
int synth_buf_offset[MPA_MAX_CHANNELS];
- int32_t sb_samples[MPA_MAX_CHANNELS][36][SBLIMIT];
+ int32_t sb_samples[MPA_MAX_CHANNELS][36][SBLIMIT] __attribute__((aligned(16)));
int32_t mdct_buf[MPA_MAX_CHANNELS][SBLIMIT * 18]; /* previous samples, for layer 3 MDCT */
#ifdef DEBUG
int frame_count;
@@ -170,7 +170,7 @@ static uint32_t scale_factor_mult3[4] = {
FIXR(1.68179283050742908605),
};
-static MPA_INT window[512];
+static MPA_INT window[512] __attribute__((aligned(16)));
/* layer 1 unscaling */
/* n = number of bits of the mantissa minus 1 */