[trunk] fixed bad use of case statement (fixes issue 381)

This commit is contained in:
Antonin Descampe 2014-09-30 12:19:13 +00:00
parent 45f33cdbd6
commit fef1276901
1 changed files with 2 additions and 1 deletions

View 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;