aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2007-10-18 15:16:07 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2007-10-18 15:16:07 +0000
commitff4b050ab49fc0f699a6e4613d8c8dfe0153d132 (patch)
treeab4bb575d2a2f28e3597bca26b2c8882cc08f2df /libavcodec
parentf97931c1223d27b68300aeca0f8ab699da2a5fa7 (diff)
downloadffmpeg-ff4b050ab49fc0f699a6e4613d8c8dfe0153d132.tar.gz
Unaligned memory access rcrash fix
Originally committed as revision 10781 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/nellymoserdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c
index bf955a2734..eb7b0fd632 100644
--- a/libavcodec/nellymoserdec.c
+++ b/libavcodec/nellymoserdec.c
@@ -91,7 +91,7 @@ static const int16_t nelly_delta_table[32] = {
typedef struct NellyMoserDecodeContext {
AVCodecContext* avctx;
- float float_buf[NELLY_SAMPLES];
+ DECLARE_ALIGNED_16(float,float_buf[NELLY_SAMPLES]);
float state[64];
AVRandomState random_state;
GetBitContext gb;