[Ffmpeg-cvslog] r6051 - trunk/libavcodec/wmadec.c
banan
subversion
Tue Aug 22 18:23:57 CEST 2006
Author: banan
Date: Tue Aug 22 18:23:56 2006
New Revision: 6051
Modified:
trunk/libavcodec/wmadec.c
Log:
Alignment of the LT window, segfault fix patch by Baptiste Coudurier.
Modified: trunk/libavcodec/wmadec.c
==============================================================================
--- trunk/libavcodec/wmadec.c (original)
+++ trunk/libavcodec/wmadec.c Tue Aug 22 18:23:56 2006
@@ -715,7 +715,7 @@
{
int n, v, a, ch, code, bsize;
int coef_nb_bits, total_gain, parse_exponents;
- float window[BLOCK_MAX_SIZE * 2];
+ DECLARE_ALIGNED_16(float, window[BLOCK_MAX_SIZE * 2]);
// XXX: FIXME!! there's a bug somewhere which makes this mandatory under altivec
#ifdef HAVE_ALTIVEC
volatile int nb_coefs[MAX_CHANNELS] __attribute__((aligned(16)));
More information about the ffmpeg-cvslog
mailing list