Summary: | Failure to decode JPX with incorrect TNsot in SOT packet | ||
---|---|---|---|
Product: | JasPer | Reporter: | Raph Levien <raph.levien> |
Component: | Decoder | Assignee: | Ralph Giles <ralph.giles> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.701.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: | incorrect TNsot work around |
Description
Raph Levien
2004-04-08 15:12:23 UTC
Created attachment 617 [details]
incorrect TNsot work around
attaching a better patch, as suggested.
We delay finalization to EOC, and modify it to finalize tiles in state
ACTIVELAST as well is just ACTIVE. This has no immediate effect since nothing
else ever looks at that state, but does preserve the label.
We are now relying on the initial setting of tile->numparts = 0 in
jpc_dec_process_siz() when TNsot is zero.
Might be nice to warn on the tile part overrun, but we don't attempt to keep
track.
I've committed a version of the fix to our branch of jasper. This seems like the best we can do in terms of quick fixes. |