shithub: libvpx

Download patch

ref: fb020805f951b56e55ed58cff70e9824501d92ff
parent: c6bc7499d9378b79eabf405209f1ad7696328f42
parent: 0dc12b4a1c926a5281743ec57371d0733fc18446
author: James Zern <jzern@google.com>
date: Mon Oct 3 18:42:51 EDT 2016

Merge "Fix warning when building with GCC 5."

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