From 808883b430e869413046b87a12095068677fe383 Mon Sep 17 00:00:00 2001 From: johannes Date: Tue, 6 Feb 2024 12:35:35 +0100 Subject: reformat --- src/huffman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/huffman.c') diff --git a/src/huffman.c b/src/huffman.c index b751f77..d37ae98 100644 --- a/src/huffman.c +++ b/src/huffman.c @@ -1,4 +1,4 @@ -/* huffman compresion based on teeworlds/ddnet huffman */ +/* huffman compresion based on teeworlds/ddnet huffman */ /*{ https://github.com/teeworlds/teeworlds/blob/master/src/engine/shared/huffman.cpp } */ #include "../inc/huffman.h" @@ -225,7 +225,7 @@ int decompresshuff(const char *inputbuff, int inputsize, char *outputbuff, int o if (node->symbol == HUFF_EOF_SYMBOL) return outputlen; - + if (outputlen == outputsize) return -1; -- cgit v1.2.3