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_dx_iface.c | |
parent | 855a71dfda9fb2620ae5567a5bb0897aa4fc0d47 (diff) | |
download | libvpx-1ece42aaf76c0b7e059fef5ef17c605cf1f5a478.tar.gz |
Enclose macro arguments in parentheses
BUG=webm:1606
Change-Id: I661485b860243c95b6450035dbac77b0dd4d9ff4
Diffstat (limited to 'vp9/vp9_dx_iface.c')
-rw-r--r-- | vp9/vp9_dx_iface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vp9/vp9_dx_iface.c b/vp9/vp9_dx_iface.c index 6a4cb9acf..fa79f7aed 100644 --- a/vp9/vp9_dx_iface.c +++ b/vp9/vp9_dx_iface.c @@ -245,10 +245,10 @@ static void set_ppflags(const vpx_codec_alg_priv_t *ctx, vp9_ppflags_t *flags) { 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) static vpx_codec_err_t init_decoder(vpx_codec_alg_priv_t *ctx) { |