Commit 80f0e7a7 authored by Michael Kohler's avatar Michael Kohler

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

parent fd0d7ff4
......@@ -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