diff --git a/src/dec/vp8l.c b/src/dec/vp8l.c index a7e7e252..e2780e5b 100644 --- a/src/dec/vp8l.c +++ b/src/dec/vp8l.c @@ -900,7 +900,7 @@ static int DecodeImageData(VP8LDecoder* const dec, uint32_t* const data, process_func(dec, row); } } - if (src < src_last) { + if (src < src_end) { if (col & mask) htree_group = GetHtreeGroupForPos(hdr, col, row); if (color_cache != NULL) { while (last_cached < src) {