summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Cox <melbournemark+ffmpeg@gmail.com>2008-03-08 17:18:28 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-08 17:18:28 +0000
commit8d06bd53f8daedd2928403abe3013225665e2d49 (patch)
treefa663d4d9c2c9a08dc7631ed34aca9a4a653367c
parent61c510887bde4bec0f4c36943bbe4e2432762ed8 (diff)
Fix unused variable warnings.
patch by mark cox, melbournemark+ffmpeg gmail.com Originally committed as revision 12370 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/faandct.c6
-rw-r--r--libavcodec/faanidct.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c
index 014c2d7514..d82c308400 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 add40349a6..dc3d8fbb81 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;