Summary: | closedctd function has a bug | ||
---|---|---|---|
Product: | MuPDF | Reporter: | akay <akay> |
Component: | fitz | Assignee: | Tor Andersson <tor.andersson> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Customer: | Word Size: | --- |
Description
akay
2010-08-20 15:15:23 UTC
jpeg_create_decompress is always called. If jpeg_read_header fails then closedct will be called with state->init set to false. In this case, we want to call jpeg_destroy_compress but not jpeg_finish_decompress (this is why we have the state->init flag). |