ref: 0dc12b4a1c926a5281743ec57371d0733fc18446
parent: 9255328f27afa214d4c3763c453aa8407c793afe
author: Geza Lore <gezalore@gmail.com>
date: Wed Apr 13 06:45:16 EDT 2016
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)
--- a/vp9/encoder/vp9_bitstream.c
+++ b/vp9/encoder/vp9_bitstream.c
@@ -213,7 +213,7 @@
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) {