Skip to content

Commit e984e13

Browse files
committed
fixed bug where packet skipping wasn't working with partial bitstream
1 parent f7a8e89 commit e984e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/openjp2/t2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,7 @@ static OPJ_BOOL opj_t2_skip_packet_data(opj_t2_t* p_t2,
15501550
"skip: segment too long (%d) with max (%d) for codeblock %d (p=%d, b=%d, r=%d, c=%d)\n",
15511551
l_seg->newlen, p_max_length, cblkno, p_pi->precno, bandno, p_pi->resno,
15521552
p_pi->compno);
1553-
return OPJ_FALSE;
1553+
//return OPJ_FALSE;
15541554
}
15551555

15561556
#ifdef USE_JPWL

0 commit comments

Comments
 (0)