changeset 6471:b72f6c4cee12 libavcodec

Fix unused variable warnings. patch by mark cox, melbournemark+ffmpeg gmail.com
author diego
date Sat, 08 Mar 2008 17:18:28 +0000
parents 9f6b1bd4f763
children e39e03d99d24
files faandct.c faanidct.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/faandct.c	Sat Mar 08 14:39:43 2008 +0000
+++ b/faandct.c	Sat Mar 08 17:18:28 2008 +0000
@@ -77,7 +77,8 @@
 {
     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 @@
 {
     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;
 
--- a/faanidct.c	Sat Mar 08 14:39:43 2008 +0000
+++ b/faanidct.c	Sat Mar 08 17:18:28 2008 +0000
@@ -48,7 +48,7 @@
 
 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;