Browse Source

Fix unused variable warnings.

patch by mark cox, melbournemark+ffmpeg gmail.com

Originally committed as revision 12370 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Mark Cox Diego Biurrun 17 years ago
parent
commit
8d06bd53f8
2 changed files with 5 additions and 3 deletions
  1. +4
    -2
      libavcodec/faandct.c
  2. +1
    -1
      libavcodec/faanidct.c

+ 4
- 2
libavcodec/faandct.c View File

@@ -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;



+ 1
- 1
libavcodec/faanidct.c View File

@@ -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;


Loading…
Cancel
Save