Commit 97e6b5ee authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/golomb-test: fix () in EXTEND() macro

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent fa915d41
......@@ -58,7 +58,7 @@ int main(void)
}
}
#define EXTEND(i) (i << 3 | i & 7)
#define EXTEND(i) ((i) << 3 | (i) & 7)
init_put_bits(&pb, temp, SIZE);
for (i = 0; i < COUNT; i++)
set_ue_golomb(&pb, EXTEND(i));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment