diff options
author | Jerome Jiang <jianj@google.com> | 2019-03-13 16:21:43 -0700 |
---|---|---|
committer | Jerome Jiang <jianj@google.com> | 2019-03-14 14:57:33 -0700 |
commit | 1ece42aaf76c0b7e059fef5ef17c605cf1f5a478 (patch) | |
tree | 557473bb0d32c10c1b508180c72c2c5ecc5ddc04 /vp9/vp9_cx_iface.c | |
parent | 855a71dfda9fb2620ae5567a5bb0897aa4fc0d47 (diff) | |
download | libvpx-1ece42aaf76c0b7e059fef5ef17c605cf1f5a478.tar libvpx-1ece42aaf76c0b7e059fef5ef17c605cf1f5a478.tar.gz libvpx-1ece42aaf76c0b7e059fef5ef17c605cf1f5a478.tar.bz2 libvpx-1ece42aaf76c0b7e059fef5ef17c605cf1f5a478.zip |
Enclose macro arguments in parentheses
BUG=webm:1606
Change-Id: I661485b860243c95b6450035dbac77b0dd4d9ff4
Diffstat (limited to 'vp9/vp9_cx_iface.c')
-rw-r--r-- | vp9/vp9_cx_iface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c index 85f83a662..2baa21364 100644 --- a/vp9/vp9_cx_iface.c +++ b/vp9/vp9_cx_iface.c @@ -130,10 +130,10 @@ static vpx_codec_err_t update_error_state( return VPX_CODEC_INVALID_PARAM; \ } while (0) -#define RANGE_CHECK(p, memb, lo, hi) \ - do { \ - if (!(((p)->memb == lo || (p)->memb > (lo)) && (p)->memb <= hi)) \ - ERROR(#memb " out of range [" #lo ".." #hi "]"); \ +#define RANGE_CHECK(p, memb, lo, hi) \ + do { \ + if (!(((p)->memb == (lo) || (p)->memb > (lo)) && (p)->memb <= (hi))) \ + ERROR(#memb " out of range [" #lo ".." #hi "]"); \ } while (0) #define RANGE_CHECK_HI(p, memb, hi) \ |