Read undrawn-image streams with their /DecodeParms by reference

This commit is contained in:
bflatastic committed 2026-11-09 08:06:03 +07:00
1 parent b6ec3fe38d
commit a97b83fc83
1 file changed
+1 -1
+1 -1
View File
@@ -195,7 +195,7 @@ fn names_drawn(doc: &Document, res: &Dict, pages: &[ObjRef], index: &HashMap<Obj
if !budget.enter_form() {
return None;
}
note(&budget.decode_strict(s).ok()?);
note(&budget.decode_strict(doc, s).ok()?);
if let Some(own) = s.dict.get(b"Resources").map(|o| doc.resolve(o)).and_then(|o| o.as_dict().cloned()) {
dicts.push(own);
}