projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
172ee1d
)
x86: Use LOCAL_ALIGNED in mpegvideo_mmx_template
author
Martin Storsjö
<martin@martin.st>
Sun, 17 Jul 2011 15:43:11 +0000
(18:43 +0300)
committer
Martin Storsjö
<martin@martin.st>
Sun, 17 Jul 2011 21:10:45 +0000
(
00:10
+0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/x86/mpegvideo_mmx_template.c
patch
|
blob
|
history
diff --git
a/libavcodec/x86/mpegvideo_mmx_template.c
b/libavcodec/x86/mpegvideo_mmx_template.c
index
0f01cb2
..
0b6cff3
100644
(file)
--- a/
libavcodec/x86/mpegvideo_mmx_template.c
+++ b/
libavcodec/x86/mpegvideo_mmx_template.c
@@
-98,7
+98,7
@@
static int RENAME(dct_quantize)(MpegEncContext *s,
x86_reg last_non_zero_p1;
int level=0, q; //=0 is because gcc says uninitialized ...
const uint16_t *qmat, *bias;
-
DECLARE_ALIGNED(16, int16_t, temp_block)[64]
;
+
LOCAL_ALIGNED_16(int16_t, temp_block, [64])
;
assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly?