aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-25 03:27:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-25 03:45:10 +0200
commit97e6b5ee3a16fee7d130f19f4dcee030f14d91cf (patch)
treec501f88ce466cce1af3d31225fe8135d9e6c3fb3
parentfa915d4193e13187773c500b80c7df6baeb22c3b (diff)
downloadffmpeg-97e6b5ee3a16fee7d130f19f4dcee030f14d91cf.tar.gz
avcodec/golomb-test: fix () in EXTEND() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/golomb-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/golomb-test.c b/libavcodec/golomb-test.c
index 8adcdf63d8..2dfe917144 100644
--- a/libavcodec/golomb-test.c
+++ b/libavcodec/golomb-test.c
@@ -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));