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:
54a4f36
)
The SSSE3 version of dct_quantize in mpegvideo_mmx_template.c needs
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Fri, 22 Jan 2010 23:40:18 +0000
(23:40 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Fri, 22 Jan 2010 23:40:18 +0000
(23:40 +0000)
inv_zigzag_direct16 16-byte aligned, so mark it appropriately.
Fixes encoder crashes e.g. with MPlayer's -vf lavc.
Originally committed as revision 21389 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/dsputil.c
patch
|
blob
|
history
diff --git
a/libavcodec/dsputil.c
b/libavcodec/dsputil.c
index
7a979a9
..
2251a69
100644
(file)
--- a/
libavcodec/dsputil.c
+++ b/
libavcodec/dsputil.c
@@
-87,7
+87,7
@@
const uint8_t ff_zigzag248_direct[64] = {
};
/* not permutated inverse zigzag_direct + 1 for MMX quantizer */
-DECLARE_ALIGNED_
8
(uint16_t, inv_zigzag_direct16)[64];
+DECLARE_ALIGNED_
16
(uint16_t, inv_zigzag_direct16)[64];
const uint8_t ff_alternate_horizontal_scan[64] = {
0, 1, 2, 3, 8, 9, 16, 17,