X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fcompress.c;h=cc3c5ca5172d9374136df169a5e14548f6a4e0a1;hb=f389abff995f590fd762777e302f99a413521765;hp=f98a4416f666fd9776eb84953c5deea79c51e019;hpb=d66b5c805c4e9a660bac6f979d88c1820cb031f2;p=wimlib diff --git a/src/compress.c b/src/compress.c index f98a4416..cc3c5ca5 100644 --- a/src/compress.c +++ b/src/compress.c @@ -5,7 +5,7 @@ */ /* - * Copyright (C) 2012 Eric Biggers + * Copyright (C) 2012, 2013 Eric Biggers * * This file is part of wimlib, a library for working with WIM files. * @@ -168,7 +168,8 @@ static void huffman_tree_compute_path_lengths(HuffmanNode *node, u16 cur_len) } } -/* Creates a canonical Huffman code from an array of symbol frequencies. +/* make_canonical_huffman_code: - Creates a canonical Huffman code from an array + * of symbol frequencies. * * The algorithm used is similar to the well-known algorithm that builds a * Huffman tree using a minheap. In that algorithm, the leaf nodes are