]> granicus.if.org Git - libvpx/commitdiff
Fix a tautological assert.
authorAlex Converse <aconverse@google.com>
Mon, 24 Nov 2014 23:00:20 +0000 (15:00 -0800)
committerAlex Converse <aconverse@google.com>
Mon, 24 Nov 2014 23:01:01 +0000 (15:01 -0800)
Change-Id: I90ad08823e1d038384536fa9f458caadc2c87f38

vp9/common/vp9_reconinter.c

index 3492a23d01c80af1114ddefaff49648c059c50c1..3ba3cb54205f9419b2f5699727cb5b7a5da4b458 100644 (file)
@@ -252,7 +252,7 @@ static MV average_split_mvs(const struct macroblockd_plane *pd,
       res = mi_mv_pred_q4(mi, ref);
       break;
     default:
-      assert(ss_idx <= 3 || ss_idx >= 0);
+      assert(ss_idx <= 3 && ss_idx >= 0);
   }
   return res;
 }