From 0dc12b4a1c926a5281743ec57371d0733fc18446 Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Wed, 13 Apr 2016 10:45:16 +0100 Subject: Fix warning when building with GCC 5. These caused the following warning with GCC 5: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] assert(!is_compound == (cm->reference_mode == SINGLE_REFERENCE)); Change-Id: If296aabb2311ceb7d903b395c1549ef81c2cbf9b (cherry picked from commit c6cf7a6111f6539f01a34865aaedd179a5ae062c) --- vp9/encoder/vp9_bitstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vp9') diff --git a/vp9/encoder/vp9_bitstream.c b/vp9/encoder/vp9_bitstream.c index 860da8333..3f1c430f9 100644 --- a/vp9/encoder/vp9_bitstream.c +++ b/vp9/encoder/vp9_bitstream.c @@ -213,7 +213,7 @@ static void write_ref_frames(const VP9_COMMON *cm, const MACROBLOCKD *xd, if (cm->reference_mode == REFERENCE_MODE_SELECT) { vpx_write(w, is_compound, vp9_get_reference_mode_prob(cm, xd)); } else { - assert(!is_compound == (cm->reference_mode == SINGLE_REFERENCE)); + assert((!is_compound) == (cm->reference_mode == SINGLE_REFERENCE)); } if (is_compound) { -- cgit v1.2.3