Browse Source

Mark Y variable in EPILOG macro as av_unused to avoid unused variable warnings.

Originally committed as revision 26220 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diego Biurrun 17 years ago
parent
commit
a04e32407d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      libswscale/yuv2rgb.c

+ 1 - 2
libswscale/yuv2rgb.c

@@ -276,8 +276,7 @@ static int func_name(SwsContext *c, uint8_t* src[], int srcStride[], int srcSlic
             dst_2 += dst_delta;\
         }\
         if (c->dstW & 4) {\
-            int av_unused U, V;\
-            int Y;\
+            int av_unused Y, U, V;\
 
 #define EPILOG2()\
         }\