FINALLY FINISHED compressor.c AND decompressor.c
THE BUG
so the main bug was that the two arrays which contained the frequencies of each letter were reversed so the huffman tree was not the same and the codes too weren’t the same.
THE FIX
so in decompressor.c i just reversed the codes. this is not a permanent fix will investigate further into compressor.c to see why its reversed!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.