[FFmpeg-devel] [PATCH] Mark ff_pw_53 and ff_pw_18 static to vc1dsp_mmx.c; mark them as used.

Diego 'Flameeyes' Pettenò flameeyes
Fri Oct 3 15:25:19 CEST 2008


---

 libavcodec/i386/vc1dsp_mmx.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/i386/vc1dsp_mmx.c b/libavcodec/i386/vc1dsp_mmx.c
index 6a3810b..8a134f6 100644
--- a/libavcodec/i386/vc1dsp_mmx.c
+++ b/libavcodec/i386/vc1dsp_mmx.c
@@ -203,8 +203,8 @@ static void vc1_put_shift2_mmx(uint8_t *dst, const uint8_t *src,
  * Filter coefficients made global to allow access by all 1 or 3 quarter shift
  * interpolation functions.
  */
-DECLARE_ALIGNED_16(const uint64_t, ff_pw_53) = 0x0035003500350035ULL;
-DECLARE_ALIGNED_16(const uint64_t, ff_pw_18) = 0x0012001200120012ULL;
+static const DECLARE_ALIGNED_16(const uint64_t, ff_pw_53) attribute_used = 0x0035003500350035ULL;
+static const DECLARE_ALIGNED_16(const uint64_t, ff_pw_18) attribute_used = 0x0012001200120012ULL;
 
 /**
  * Core of the 1/4 and 3/4 shift bicubic interpolation.





More information about the ffmpeg-devel mailing list