diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-09-13 14:25:18 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-09-13 14:25:18 +0000 |
commit | 6527e56131944b07370323599101e111acdfc569 (patch) | |
tree | 4bc1c91faf442d92fc72aafcb224de21cc81331f /libswscale/rgb2rgb.c | |
parent | b3555bf08a2240b6e4c1ae0c6a5f76e8d64c29c5 (diff) | |
download | ffmpeg-6527e56131944b07370323599101e111acdfc569.tar.gz |
swscale: avoid reading prior to the source buffer in planar2x() MMX2
Originally committed as revision 32221 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/rgb2rgb.c')
-rw-r--r-- | libswscale/rgb2rgb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c index 641965efe0..3746b9b2f0 100644 --- a/libswscale/rgb2rgb.c +++ b/libswscale/rgb2rgb.c @@ -99,6 +99,7 @@ void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t #if ARCH_X86 +DECLARE_ASM_CONST(8, uint64_t, mmx_ff) = 0x00000000000000FFULL; DECLARE_ASM_CONST(8, uint64_t, mmx_null) = 0x0000000000000000ULL; DECLARE_ASM_CONST(8, uint64_t, mmx_one) = 0xFFFFFFFFFFFFFFFFULL; DECLARE_ASM_CONST(8, uint64_t, mask32b) = 0x000000FF000000FFULL; |