summaryrefslogtreecommitdiffstats
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-11 09:01:38 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-11 09:01:38 +0000
commitc388f79c0f1e91741cc506c5900f496ca8d4899f (patch)
tree4c313089c98e6e9e5632c2e59dd9e1d9690409a2 /libswscale/yuv2rgb.c
parent7fbcd4a268ea95beb3d43e7928cb5c7a495bdc4e (diff)
downloadmpv-c388f79c0f1e91741cc506c5900f496ca8d4899f.tar.bz2
mpv-c388f79c0f1e91741cc506c5900f496ca8d4899f.tar.xz
Mark Y variable in EPILOG macro as av_unused to avoid unused variable warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26220 b3059339-0415-0410-9bf9-f77b7e298cf2
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()\
}\