{decodeframe,rdopt}.c: fix asserts with strings
lead with '0 &&' to avoid string to bool conversion warnings
BUG=aomedia:621
Change-Id: I2cd6618377f9ed94f4d9dbc252f6f5cfc81efea4
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index d931c49..0df6459 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -6056,7 +6056,7 @@
MAX_MVSEARCH_STEPS - 1 - step_param, 1, &cpi->fn_ptr[bsize], &ref_mv,
&(x->best_mv.as_mv), 0);
break;
- default: assert("Invalid motion mode!\n");
+ default: assert(0 && "Invalid motion mode!\n");
}
#endif // CONFIG_MOTION_VAR
@@ -6136,7 +6136,7 @@
cpi->sf.mv.subpel_iters_per_step, x->nmvjointcost, x->mvcost, &dis,
&x->pred_sse[ref], 0, cpi->sf.use_upsampled_references);
break;
- default: assert("Invalid motion mode!\n");
+ default: assert(0 && "Invalid motion mode!\n");
}
#endif // CONFIG_MOTION_VAR
}