diff --git a/src/dec/vp8l.c b/src/dec/vp8l.c index 916b0793..c8f2bb18 100644 --- a/src/dec/vp8l.c +++ b/src/dec/vp8l.c @@ -1073,7 +1073,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) {