From: Antonin Descampe Date: Tue, 5 Oct 2010 20:25:01 +0000 (+0000) Subject: fixed problems with partial decodes (non-zero value for cp_reduce) that can cause... X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=dea5c48227a14a5a49bc9b6aef4816ee0bb3ca02;p=openjpeg.git fixed problems with partial decodes (non-zero value for cp_reduce) that can cause corrupted images and crashes (issue 41) - thanks to Sheet Spotter --- diff --git a/libopenjpeg/t2.c b/libopenjpeg/t2.c index 18397e33..a29779f1 100644 --- a/libopenjpeg/t2.c +++ b/libopenjpeg/t2.c @@ -921,6 +921,7 @@ static bool t2_skip_packet_data( while (l_cblk->numnewpasses > 0); ++l_cblk; } + ++l_band; } return true; }