diff options
| author | Antonin Descampe <antonin@gmail.com> | 2014-09-30 12:19:13 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2014-09-30 12:19:13 +0000 |
| commit | fef1276901236faaa69925b20276a8aa15682b6a (patch) | |
| tree | 4252207aa51d3d9b0ba8034aff4d90e223af8401 /src/lib | |
| parent | 45f33cdbd633fdeb63f03c750af14508107a1932 (diff) | |
[trunk] fixed bad use of case statement (fixes issue 381)
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/pi.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
