Commit Diff
--- pdf.c +++ pdf.c @@ -4802,6 +4802,7 @@ p_stream_data__m(HAllocator *mm__, const Dict *dict, s const HParsedToken *v; v = dictentry(dict, "Type"); + v = resolve(aux, v); if (v == NULL || v->token_type != TT_BYTES) // XXX -> custom type return NULL; /* no /Type field */