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

Diego Biurrun diego
Tue Nov 4 09:41:31 CET 2008


On Tue, Nov 04, 2008 at 12:47:55AM +0100, Aurelien Jacobs wrote:
> Diego Biurrun wrote:
> 
> > Here is a small patch to eliminate an unused variable warning.
> > 
> > --- 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 ?

.. the code below .. ?

Diego




More information about the ffmpeg-devel mailing list