changeset 23400:16cce5d6ff9f

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
author benoit
date Wed, 30 May 2007 09:33:09 +0000
parents 8a0062b81dcc
children dfcd21cda080
files libswscale/swscale.c libswscale/yuv2rgb.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Wed May 30 08:36:38 2007 +0000
+++ b/libswscale/swscale.c	Wed May 30 09:33:09 2007 +0000
@@ -457,7 +457,7 @@
         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++)\
--- a/libswscale/yuv2rgb.c	Wed May 30 08:36:38 2007 +0000
+++ b/libswscale/yuv2rgb.c	Wed May 30 09:33:09 2007 +0000
@@ -265,7 +265,7 @@
     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 @@
         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)\