From: Antonin Descampe Date: Tue, 30 Sep 2014 12:19:13 +0000 (+0000) Subject: [trunk] fixed bad use of case statement (fixes issue 381) X-Git-Tag: wg1n6848~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fef1276901236faaa69925b20276a8aa15682b6a;p=openjpeg [trunk] fixed bad use of case statement (fixes issue 381) --- diff --git a/src/lib/openjp2/pi.c b/src/lib/openjp2/pi.c index 62eeb39c..b3fe9af1 100644 --- a/src/lib/openjp2/pi.c +++ b/src/lib/openjp2/pi.c @@ -1105,7 +1105,8 @@ OPJ_BOOL opj_pi_check_next_level( OPJ_INT32 pos, break; case 'P': switch(tcp->prg){ - case OPJ_LRCP||OPJ_RLCP: + case OPJ_LRCP: // fall through + case OPJ_RLCP: if(tcp->prc_t == tcp->prcE){ if(opj_pi_check_next_level(i-1,cp,tileno,pino,prog)){ return OPJ_TRUE;