comparison nellymoserdec.c @ 5838:fd8b56703750 libavcodec

Unaligned memory access rcrash fix
author banan
date Thu, 18 Oct 2007 15:16:07 +0000
parents 4beef9d0e663
children a03b4172939c
comparison
equal deleted inserted replaced
5837:4400d47f7c91 5838:fd8b56703750
89 2968, 3569, 4314, 5279, 6622, 8154, 10076, 12975 89 2968, 3569, 4314, 5279, 6622, 8154, 10076, 12975
90 }; 90 };
91 91
92 typedef struct NellyMoserDecodeContext { 92 typedef struct NellyMoserDecodeContext {
93 AVCodecContext* avctx; 93 AVCodecContext* avctx;
94 float float_buf[NELLY_SAMPLES]; 94 DECLARE_ALIGNED_16(float,float_buf[NELLY_SAMPLES]);
95 float state[64]; 95 float state[64];
96 AVRandomState random_state; 96 AVRandomState random_state;
97 GetBitContext gb; 97 GetBitContext gb;
98 int add_bias; 98 int add_bias;
99 int scale_bias; 99 int scale_bias;