[FFmpeg-cvslog] aac sbr: align struct member by 32 byte.

Ronald S. Bultje git at videolan.org
Mon Apr 30 22:46:06 CEST 2012


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sun Apr 29 16:41:23 2012 +0000| [b12bf032758fed28fe1aeffa242e64189389d204] | committer: Derek Buitenhuis

aac sbr: align struct member by 32 byte.

Required because it's used in a call to imdct_half(), which is an AVX
function.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b12bf032758fed28fe1aeffa242e64189389d204
---

 libavcodec/sbr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/sbr.h b/libavcodec/sbr.h
index 459ee9c..23534b1 100644
--- a/libavcodec/sbr.h
+++ b/libavcodec/sbr.h
@@ -180,7 +180,7 @@ typedef struct {
     ///Sinusoidal levels
     float              s_m[7][48];
     float              gain[7][48];
-    DECLARE_ALIGNED(16, float, qmf_filter_scratch)[5][64];
+    DECLARE_ALIGNED(32, float, qmf_filter_scratch)[5][64];
     FFTContext         mdct_ana;
     FFTContext         mdct;
     SBRDSPContext      dsp;



More information about the ffmpeg-cvslog mailing list