diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2007-05-30 09:33:09 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-05-30 09:33:09 +0000 |
commit | 2db27aadcb6e7543321d5d68d06b2fdc4fd63491 (patch) | |
tree | e89b79f9aaa1347a067ec4b2a8ca520e9d5840e5 /libswscale | |
parent | 154e30f6c2f67317fa9ab2745ed58716a9c47cc8 (diff) | |
download | ffmpeg-2db27aadcb6e7543321d5d68d06b2fdc4fd63491.tar.gz |
rename attribute_unused to av_unused as it is declared in common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM
Originally committed as revision 23418 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 2 | ||||
-rw-r--r-- | libswscale/yuv2rgb.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index dc0a2eda26..00e9575e78 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -457,7 +457,7 @@ static inline void yuv2nv12XinC(int16_t *lumFilter, int16_t **lumSrc, int lumFil int Y2 = 1<<18;\ int U = 1<<18;\ int V = 1<<18;\ - type attribute_unused *r, *b, *g;\ + type av_unused *r, *b, *g;\ const int i2= 2*i;\ \ for (j=0; j<lumFilterSize; j++)\ diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 9f3f071213..009219a83a 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -265,7 +265,7 @@ 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 attribute_unused *r, *b;\ + dst_type av_unused *r, *b;\ dst_type *g;\ uint8_t *py_1= src[0] + y*srcStride[0];\ uint8_t *py_2= py_1 + srcStride[0];\ @@ -273,7 +273,7 @@ static int func_name(SwsContext *c, uint8_t* src[], int srcStride[], int srcSlic uint8_t *pv= src[2] + (y>>1)*srcStride[2];\ unsigned int h_size= c->dstW>>3;\ while (h_size--) {\ - int attribute_unused U, V;\ + int av_unused U, V;\ int Y;\ #define EPILOG(dst_delta)\ |