This is an automated email from the ASF dual-hosted git repository.

tilman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pdfbox-jbig2.git

commit 6151d98860eb0045bb2d09b61c69c3ab82f25167
Author: Tilman Hausherr <[email protected]>
AuthorDate: Mon Jan 26 14:13:56 2026 +0100

    PDFBOX-6154: store useSkip
---
 src/main/java/org/apache/pdfbox/jbig2/segments/GenericRegion.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/java/org/apache/pdfbox/jbig2/segments/GenericRegion.java 
b/src/main/java/org/apache/pdfbox/jbig2/segments/GenericRegion.java
index 9ba2504..0aca534 100644
--- a/src/main/java/org/apache/pdfbox/jbig2/segments/GenericRegion.java
+++ b/src/main/java/org/apache/pdfbox/jbig2/segments/GenericRegion.java
@@ -68,6 +68,8 @@ public class GenericRegion implements Region
 
     private MMRDecompressor mmrDecompressor;
 
+    private boolean useSkip;
+
     public GenericRegion()
     {
     }
@@ -981,6 +983,7 @@ public class GenericRegion implements Region
             this.arithDecoder = arithmeticDecoder;
 
         this.mmrDecompressor = null;
+        this.useSkip = useSkip;
         resetBitmap();
     }
 
@@ -1015,6 +1018,7 @@ public class GenericRegion implements Region
         this.isTPGDon = isTPGDon;
         this.gbAtX = gbAtX;
         this.gbAtY = gbAtY;
+        this.useSkip = useSkip;
     }
 
     /**

Reply via email to