summaryrefslogtreecommitdiffstats
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
authorlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-26 17:59:28 +0000
committerlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-26 17:59:28 +0000
commit896f3ac12b6c3edb54b349a816dabc59dbf237d6 (patch)
tree0fcede2bad2c13e7f12b907991b3f4af575a9426 /libswscale/yuv2rgb.c
parent471fc34cb7317e032e5e329c34fe459adc375879 (diff)
downloadmpv-896f3ac12b6c3edb54b349a816dabc59dbf237d6.tar.bz2
mpv-896f3ac12b6c3edb54b349a816dabc59dbf237d6.tar.xz
Mark some variables as possibly unused to avoid warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21775 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r--libswscale/yuv2rgb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 645328ce78..e9dc5b4d87 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -265,14 +265,16 @@ static int func_name(SwsContext *c, uint8_t* src[], int srcStride[], int srcSlic
for(y=0; y<srcSliceH; y+=2){\
dst_type *dst_1= (dst_type*)(dst[0] + (y+srcSliceY )*dstStride[0]);\
dst_type *dst_2= (dst_type*)(dst[0] + (y+srcSliceY+1)*dstStride[0]);\
- dst_type *r, *g, *b;\
+ dst_type attribute_unused *r, *b;\
+ dst_type *g;\
uint8_t *py_1= src[0] + y*srcStride[0];\
uint8_t *py_2= py_1 + srcStride[0];\
uint8_t *pu= src[1] + (y>>1)*srcStride[1];\
uint8_t *pv= src[2] + (y>>1)*srcStride[2];\
unsigned int h_size= c->dstW>>3;\
while (h_size--) {\
- int U, V, Y;\
+ int attribute_unused U, V;\
+ int Y;\
#define EPILOG(dst_delta)\
pu += 4;\