]> granicus.if.org Git - openjpeg/commitdiff
[trunk] fixed bad use of case statement (fixes issue 381)
authorAntonin Descampe <antonin@gmail.com>
Tue, 30 Sep 2014 12:19:13 +0000 (12:19 +0000)
committerAntonin Descampe <antonin@gmail.com>
Tue, 30 Sep 2014 12:19:13 +0000 (12:19 +0000)
src/lib/openjp2/pi.c

index 62eeb39c030e0b82ceab97cc4e063ceede8dcd12..b3fe9af18adb06db9100e05e4e6821bcbcf60604 100644 (file)
@@ -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;