Skip to content

Commit 7603306

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

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
@@ -1512,7 +1512,7 @@ static OPJ_BOOL opj_t2_skip_packet_data(opj_t2_t* p_t2,
15121512
"skip: segment too long (%d) with max (%d) for codeblock %d (p=%d, b=%d, r=%d, c=%d)\n",
15131513
l_seg->newlen, p_max_length, cblkno, p_pi->precno, bandno, p_pi->resno,
15141514
p_pi->compno);
1515-
return OPJ_FALSE;
1515+
//return OPJ_FALSE;
15161516
}
15171517

15181518
#ifdef USE_JPWL

0 commit comments

Comments
 (0)