diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-08 15:26:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-08 15:26:18 +0200 |
commit | 007547b2820fba443b94484a75fbfdefee896729 (patch) | |
tree | 531c1462c933172caa1dfb3f2788edd0e41332c4 /libavcodec/vp3.c | |
parent | 7c3af60016e6dceabef0c0e24e6543e58c0ca122 (diff) | |
download | ffmpeg-007547b2820fba443b94484a75fbfdefee896729.tar.gz |
avcodec: fix () in TRANSPOSE macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 1783041c20..354be087ba 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1740,7 +1740,7 @@ static av_cold int vp3_decode_init(AVCodecContext *avctx) ff_vp3dsp_init(&s->vp3dsp, avctx->flags); for (i = 0; i < 64; i++) { -#define TRANSPOSE(x) (x >> 3) | ((x & 7) << 3) +#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 |