lib: zlib: fix formatting, reference

Provide a valid reference for the deflate format.
Reformat the ALGORITHM and REFERENCES comments.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
Heinrich Schuchardt 2020-04-20 17:40:57 +02:00 committed by Tom Rini
parent 6d68735559
commit cc3860f66f

View file

@ -7,27 +7,28 @@
/* /*
* ALGORITHM * ALGORITHM
* *
* The "deflation" process uses several Huffman trees. The more * The "deflation" process uses several Huffman trees. The more
* common source values are represented by shorter bit sequences. * common source values are represented by shorter bit sequences.
* *
* Each code tree is stored in a compressed form which is itself * Each code tree is stored in a compressed form which is itself
* a Huffman encoding of the lengths of all the code strings (in * a Huffman encoding of the lengths of all the code strings (in
* ascending order by source values). The actual code strings are * ascending order by source values). The actual code strings are
* reconstructed from the lengths in the inflate process, as described * reconstructed from the lengths in the inflate process, as
* in the deflate specification. * described in the deflate specification.
* *
* REFERENCES * REFERENCES
* *
* Deutsch, L.P.,"'Deflate' Compressed Data Format Specification". * Deutsch, P.
* Available in ftp.uu.net:/pub/archiving/zip/doc/deflate-1.1.doc * RFC 1951, DEFLATE Compressed Data Format Specification version 1.3
* https://tools.ietf.org/html/rfc1951, 1996
* *
* Storer, James A. * Storer, James A.
* Data Compression: Methods and Theory, pp. 49-50. * Data Compression: Methods and Theory, pp. 49-50.
* Computer Science Press, 1988. ISBN 0-7167-8156-5. * Computer Science Press, 1988. ISBN 0-7167-8156-5.
* *
* Sedgewick, R. * Sedgewick, R.
* Algorithms, p290. * Algorithms, p290.
* Addison-Wesley, 1983. ISBN 0-201-06672-6. * Addison-Wesley, 1983. ISBN 0-201-06672-6.
*/ */
/* @(#) $Id$ */ /* @(#) $Id$ */