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

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

Showing with 5 additions and 4 deletions
......@@ -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));
......
Supports Markdown
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