ObjFW  Diff

Differences From Artifact [44d960865e]:

To Artifact [d14cb85d84]:


107
108
109
110
111
112
113
114

115
116
117
118
119
120
121
122
107
108
109
110
111
112
113

114

115
116
117
118
119
120
121







-
+
-








	tree->value = value;

	return tree;
}

bool
of_huffman_tree_walk(OFStream *stream,
of_huffman_tree_walk(id stream, bool (*bitReader)(id, uint16_t *, uint8_t),
    bool (*bitReader)(OFStream *, uint16_t *, uint8_t),
    struct of_huffman_tree **tree, uint16_t *value)
{
	struct of_huffman_tree *iter = *tree;
	uint16_t bits;

	while (iter->value == 0xFFFF) {
		if OF_UNLIKELY (!bitReader(stream, &bits, 1)) {