fix "JPX Out of Packets" Error (issues 4358, 4659, 4814)
This commit is contained in:
parent
8bfc4b84cb
commit
141ecfa61f
@ -540,6 +540,11 @@ var JpxImage = (function JpxImageClosure() {
|
||||
codeblock.precinctNumber = precinctNumber;
|
||||
codeblock.subbandType = subband.type;
|
||||
codeblock.Lblock = 3;
|
||||
|
||||
if (codeblock.tbx1_ <= codeblock.tbx0_ ||
|
||||
codeblock.tby1_ <= codeblock.tby0_) {
|
||||
continue;
|
||||
}
|
||||
codeblocks.push(codeblock);
|
||||
// building precinct for the sub-band
|
||||
var precinct = precincts[precinctNumber];
|
||||
|
Loading…
x
Reference in New Issue
Block a user