Unaligned memory access rcrash fix
authorBenjamin Larsson <banan@ludd.ltu.se>
Thu, 18 Oct 2007 15:16:07 +0000 (15:16 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Thu, 18 Oct 2007 15:16:07 +0000 (15:16 +0000)
Originally committed as revision 10781 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/nellymoserdec.c

index bf955a2..eb7b0fd 100644 (file)
@@ -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;