[SCM] libav/experimental: Fix unused variable warnings. patch by mark cox, melbournemark+ffmpeg gmail.com

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:16:36 UTC 2013


The following commit has been merged in the experimental branch:
commit 8d06bd53f8daedd2928403abe3013225665e2d49
Author: Mark Cox <melbournemark+ffmpeg at gmail.com>
Date:   Sat Mar 8 17:18:28 2008 +0000

    Fix unused variable warnings.
    patch by mark cox, melbournemark+ffmpeg gmail.com
    
    Originally committed as revision 12370 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c
index 014c2d7..d82c308 100644
--- a/libavcodec/faandct.c
+++ b/libavcodec/faandct.c
@@ -77,7 +77,8 @@ static av_always_inline void row_fdct(FLOAT temp[64], DCTELEM * data)
 {
     FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7;
     FLOAT tmp10, tmp11, tmp12, tmp13;
-    FLOAT z2, z4, z5, z11, z13;
+    FLOAT z2, z4, z11, z13;
+    FLOAT av_unused z5;
     int i;
 
     for (i=0; i<8*8; i+=8) {
@@ -131,7 +132,8 @@ void ff_faandct(DCTELEM * data)
 {
     FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7;
     FLOAT tmp10, tmp11, tmp12, tmp13;
-    FLOAT z2, z4, z5, z11, z13;
+    FLOAT z2, z4, z11, z13;
+    FLOAT av_unused z5;
     FLOAT temp[64];
     int i;
 
diff --git a/libavcodec/faanidct.c b/libavcodec/faanidct.c
index add4034..dc3d8fb 100644
--- a/libavcodec/faanidct.c
+++ b/libavcodec/faanidct.c
@@ -48,7 +48,7 @@ B7*B0/8, B7*B1/8, B7*B2/8, B7*B3/8, B7*B4/8, B7*B5/8, B7*B6/8, B7*B7/8,
 
 static inline void p8idct(DCTELEM data[64], FLOAT temp[64], uint8_t *dest, int stride, int x, int y, int type){
     int i;
-    FLOAT tmp0;
+    FLOAT av_unused tmp0;
     FLOAT s04, d04, s17, d17, s26, d26, s53, d53;
     FLOAT os07, os16, os25, os34;
     FLOAT od07, od16, od25, od34;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list