Skip to content

Commit

Permalink
fixed bug where packet skipping wasn't working with partial bitstream
Browse files Browse the repository at this point in the history
  • Loading branch information
chafey committed Oct 9, 2021
1 parent f7a8e89 commit e984e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/openjp2/t2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ static OPJ_BOOL opj_t2_skip_packet_data(opj_t2_t* p_t2,
"skip: segment too long (%d) with max (%d) for codeblock %d (p=%d, b=%d, r=%d, c=%d)\n",
l_seg->newlen, p_max_length, cblkno, p_pi->precno, bandno, p_pi->resno,
p_pi->compno);
return OPJ_FALSE;
//return OPJ_FALSE;
}

#ifdef USE_JPWL
Expand Down

0 comments on commit e984e13

Please sign in to comment.