summaryrefslogtreecommitdiff
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-11 09:01:38 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-11 09:01:38 +0000
commita04e32407d179e5ea42eee3ce58ac6ff8c859b72 (patch)
tree7e8e0531bbcf1fc57636737d640ede43e808a0da /libswscale/yuv2rgb.c
parentbf99f4fccc13d6cf7f0c4cd1f07d9b7f1202d0b4 (diff)
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
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r--libswscale/yuv2rgb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 8b4622311c..8ece0f6183 100644
--- a/libswscale/yuv2rgb.c
+++ b/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()\
}\