Commit 8b84e082 authored by Mans Rullgard's avatar Mans Rullgard

indeo3: add parens around some macro arguments

Without these, the expansion contains things like --1 with
some compilers resulting in build errors.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 87a24634
......@@ -247,8 +247,8 @@
* Expand a pair of delta values (a,b)
* into two/four delta entries.
*/
#define E2(a, b) PD(a, b), PD(-a, -b)
#define E4(a, b) PD(a, b), PD(-a, -b), PD(b, a), PD(-b, -a)
#define E2(a, b) PD(a, b), PD(-(a), -(b))
#define E4(a, b) PD(a, b), PD(-(a), -(b)), PD(b, a), PD(-(b), -(a))
/*
* VQ tables for 4x4 block modes.
......
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