diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-02-18 09:57:45 -0800 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-02-27 13:38:00 -0800 |
commit | f2408ec9d752aa6ceb7eb9edb2771eafba437c1b (patch) | |
tree | 6a72958eed914db87b025fe35b4d2a9bf486f6b9 /libavcodec/vp3.c | |
parent | 291e49d4e7db4b982621d7a25e258f898cfc3217 (diff) | |
download | ffmpeg-f2408ec9d752aa6ceb7eb9edb2771eafba437c1b.tar.gz |
Give IDCT matrix transpose macro a more descriptive name
This also avoids a macro name clash and related warning on ARM.
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index adcecbcf04..a45f2dba0f 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1705,10 +1705,10 @@ static av_cold int vp3_decode_init(AVCodecContext *avctx) ff_vp3dsp_init(&s->vp3dsp, avctx->flags); for (i = 0; i < 64; i++) { -#define T(x) (x >> 3) | ((x & 7) << 3) - s->idct_permutation[i] = T(i); - s->idct_scantable[i] = T(ff_zigzag_direct[i]); -#undef T +#define TRANSPOSE(x) (x >> 3) | ((x & 7) << 3) + s->idct_permutation[i] = TRANSPOSE(i); + s->idct_scantable[i] = TRANSPOSE(ff_zigzag_direct[i]); +#undef TRANSPOSE } /* initialize to an impossible value which will force a recalculation |