[FFmpeg-devel] [PATCH] swscale: Do not misuse HAVE_* flags.

Michael Niedermayer michaelni
Sun Apr 5 22:14:07 CEST 2009


On Sun, Apr 05, 2009 at 02:14:15PM -0300, Ramiro Polla wrote:
> Hi,
> 
> swscale: Do not misuse HAVE_* flags.
> Rename COMPILE_* to SWSCALE_COMPILE_*.
> Rename wrong uses of HAVE_* to COMPILE_*.

[...]
> @@ -1594,7 +1592,7 @@ error:
>      return ret;
>  }
>  
> -#if COMPILE_MMX2
> +#if SWSCALE_COMPILE_MMX2
>  static void initMMX2HScaler(int dstW, int xInc, uint8_t *funnyCode, int16_t *filter, int32_t *filterPos, int numSplits)
>  {
>      uint8_t *fragmentA;

this should be HAVE_MMX2 when HAVE* are not changed

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090405/f50c536d/attachment.pgp>



More information about the ffmpeg-devel mailing list