[trunk] fixed bad use of case statement (fixes issue 381)
This commit is contained in:
parent
45f33cdbd6
commit
fef1276901
|
@ -1105,7 +1105,8 @@ OPJ_BOOL opj_pi_check_next_level( OPJ_INT32 pos,
|
||||||
break;
|
break;
|
||||||
case 'P':
|
case 'P':
|
||||||
switch(tcp->prg){
|
switch(tcp->prg){
|
||||||
case OPJ_LRCP||OPJ_RLCP:
|
case OPJ_LRCP: // fall through
|
||||||
|
case OPJ_RLCP:
|
||||||
if(tcp->prc_t == tcp->prcE){
|
if(tcp->prc_t == tcp->prcE){
|
||||||
if(opj_pi_check_next_level(i-1,cp,tileno,pino,prog)){
|
if(opj_pi_check_next_level(i-1,cp,tileno,pino,prog)){
|
||||||
return OPJ_TRUE;
|
return OPJ_TRUE;
|
||||||
|
|
Loading…
Reference in New Issue