changeset 5838:fd8b56703750 libavcodec

Unaligned memory access rcrash fix
author banan
date Thu, 18 Oct 2007 15:16:07 +0000
parents 4400d47f7c91
children b098f7cfc478
files nellymoserdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nellymoserdec.c	Thu Oct 18 14:01:20 2007 +0000
+++ b/nellymoserdec.c	Thu Oct 18 15:16:07 2007 +0000
@@ -91,7 +91,7 @@
 
 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;