Merge "Fix warning when building with GCC 5."

This commit is contained in:
James Zern 2016-10-03 22:42:51 +00:00 committed by Gerrit Code Review
commit fb020805f9

View File

@ -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) {