mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 01:42:20 +00:00
avcodec: fix () in TRANSPOSE macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7c3af60016
commit
007547b282
@ -5578,7 +5578,7 @@ av_cold void ff_vc1_init_transposed_scantables(VC1Context *v)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < 64; i++) {
|
||||
#define transpose(x) ((x >> 3) | ((x & 7) << 3))
|
||||
#define transpose(x) (((x) >> 3) | (((x) & 7) << 3))
|
||||
v->zz_8x8[0][i] = transpose(ff_wmv1_scantable[0][i]);
|
||||
v->zz_8x8[1][i] = transpose(ff_wmv1_scantable[1][i]);
|
||||
v->zz_8x8[2][i] = transpose(ff_wmv1_scantable[2][i]);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user