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

Reimar Döffinger Reimar.Doeffinger
Sat Oct 4 00:16:18 CEST 2008


On Fri, Oct 03, 2008 at 03:06:48PM +0200, Diego 'Flameeyes' Petten? wrote:
> 
> ---
> 
>  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..c04bee2 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) av_used = 0x0035003500350035ULL;
> +static const DECLARE_ALIGNED_16(const uint64_t, ff_pw_18) av_used = 0x0012001200120012ULL;

This should be checked against ICC, there is also a DECLARE_ASM_CONST
(or something like that) that might be more appropriate.




More information about the ffmpeg-devel mailing list