Commit 0a1e165
Grok Compression
Fix compositeBoundsReduced_ not being reset for full-image decompress
When setDecompressRegion is called with region (0,0,0,0) (full image),
it returns early before the block that was resetting compositeBoundsReduced_.
This caused successive decompress calls (e.g. reading different bands) to
incorrectly skip composite bounds reduction, producing wrong pixel values.
Move the reset to the top of the function so it always executes.1 parent 5921608 commit 0a1e165
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1227 | 1227 | | |
1228 | 1228 | | |
1229 | 1229 | | |
| 1230 | + | |
1230 | 1231 | | |
1231 | 1232 | | |
1232 | 1233 | | |
| |||
1258 | 1259 | | |
1259 | 1260 | | |
1260 | 1261 | | |
1261 | | - | |
1262 | 1262 | | |
1263 | 1263 | | |
1264 | 1264 | | |
| |||
0 commit comments