Use DECLARE_ASM_CONST for non-global ff_vector128 constant used via MANGLE

Originally committed as revision 18325 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Reimar Döffinger 16 years ago
parent 68367bdef0
commit 531a3d2721
  1. 2
      libavcodec/x86/dsputil_mmx.c

@ -272,7 +272,7 @@ void put_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size
:"memory"); :"memory");
} }
DECLARE_ALIGNED_8(const unsigned char, ff_vector128[8]) = DECLARE_ASM_CONST(8, uint8_t, ff_vector128[8]) =
{ 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }; { 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 };
#define put_signed_pixels_clamped_mmx_half(off) \ #define put_signed_pixels_clamped_mmx_half(off) \

Loading…
Cancel
Save