[FFmpeg-cvslog] r27945 - trunk/libswscale/swscale_template.c
diego
subversion
Mon Nov 17 11:33:59 CET 2008
Author: diego
Date: Mon Nov 17 11:33:59 2008
New Revision: 27945
Log:
Put variable declaration inside an #ifdef to avoid an unused variable warning.
Modified:
trunk/libswscale/swscale_template.c
Modified: trunk/libswscale/swscale_template.c
==============================================================================
--- trunk/libswscale/swscale_template.c (original)
+++ trunk/libswscale/swscale_template.c Mon Nov 17 11:33:59 2008
@@ -1826,11 +1826,12 @@ static inline void RENAME(rgb24ToY)(uint
static inline void RENAME(rgb24ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, long width, uint32_t *unused)
{
- int i;
- assert(src1==src2);
#ifdef HAVE_MMX
+ assert(src1==src2);
RENAME(bgr24ToUV_mmx)(dstU, dstV, src1, width, PIX_FMT_RGB24);
#else
+ int i;
+ assert(src1==src2);
for (i=0; i<width; i++)
{
int r= src1[3*i + 0];
More information about the ffmpeg-cvslog
mailing list