Commit 160d671e authored by Johann's avatar Johann Committed by Code Review

Merge "limit range checking code for L[k] to CONFIG_DEBUG. patch by timeless@gmail.com"

parents 7a89d4c3 80f0e7a7
......@@ -226,13 +226,14 @@ void vp8_decode_mode_mvs(VP8D_COMP *pbi)
int mv_contz;
while (j != L[++k])
if (k >= 16)
{
#if CONFIG_DEBUG
if (k >= 16)
{
assert(0);
#else
;
}
#endif
}
mv_contz = vp8_mv_cont(&(vp8_left_bmi(mi, k)->mv.as_mv), &(vp8_above_bmi(mi, k, mis)->mv.as_mv));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment