Skip to content

Commit

Permalink
Added -huffcodes option: print the Huffman codes
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jul 2, 2003
1 parent 9bd3814 commit 4829a80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doomsday/Src/m_huffman.c
Expand Up @@ -317,7 +317,7 @@ void Huff_Init(void)
Huff_CheckBuffer(&huffEnc, 0x10000);
Huff_CheckBuffer(&huffDec, 0x10000);

#ifdef PRINT_CODES
if(ArgExists("-huffcodes"))
{
double realBits = 0;
double huffBits = 0;
Expand All @@ -337,7 +337,6 @@ void Huff_Init(void)
Con_Printf("realbits=%f, huffbits=%f (%f%%)\n", realBits, huffBits,
huffBits/realBits*100);
}
#endif
}

/*
Expand Down

0 comments on commit 4829a80

Please sign in to comment.