From ff4b050ab49fc0f699a6e4613d8c8dfe0153d132 Mon Sep 17 00:00:00 2001 From: Benjamin Larsson Date: Thu, 18 Oct 2007 15:16:07 +0000 Subject: [PATCH] Unaligned memory access rcrash fix Originally committed as revision 10781 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/nellymoserdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;