[FFmpeg-cvslog] dct-test: fix alignment in ff_prores_idct_put_10_sse2()
Michael Niedermayer
git at videolan.org
Sun Jun 10 20:48:35 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun 10 20:45:55 2012 +0200| [9e724d7216e693ba7af76caee5ccfb98c73d7a4b] | committer: Michael Niedermayer
dct-test: fix alignment in ff_prores_idct_put_10_sse2()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e724d7216e693ba7af76caee5ccfb98c73d7a4b
---
libavcodec/dct-test.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 2e45252..45d21bf 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -104,8 +104,9 @@ void ff_prores_idct_put_10_sse2(uint16_t *dst, int linesize,
DCTELEM *block, int16_t *qmat);
static void ff_prores_idct_put_10_sse2_wrap(DCTELEM *dst){
- int16_t qmat[64]; int i;
- int16_t tmp[64];
+ DECLARE_ALIGNED(16, static int16_t, qmat)[64];
+ DECLARE_ALIGNED(16, static int16_t, tmp)[64];
+ int i;
for(i=0; i<64; i++){
qmat[i]=4;
More information about the ffmpeg-cvslog
mailing list