[FFmpeg-devel] [PATCH] fix unused variable warning in libswscale

Aurelien Jacobs aurel
Tue Nov 4 00:47:55 CET 2008


Diego Biurrun wrote:

> Here is a small patch to eliminate an unused variable warning.
> 
> [...]
> 
> Index: libswscale/swscale_template.c
> ===================================================================
> --- libswscale/swscale_template.c	(revision 27889)
> +++ libswscale/swscale_template.c	(working copy)
> @@ -1826,11 +1826,12 @@
>  
>  static inline void RENAME(rgb24ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, long width, uint32_t *unused)
>  {
> +#ifdef HAVE_MMX
> +    assert(src1==src2);
> +    RENAME(bgr24ToUV_mmx)(dstU, dstV, src1, width, PIX_FMT_RGB24);
> +#elif

elif what ?

Aurel




More information about the ffmpeg-devel mailing list