Skip to content

Bugfix in DMS decompression with DEEP Compression - #20

Merged
naTmeg merged 1 commit into
naTmeg:masterfrom
steffest:master
Feb 19, 2018
Merged

naTmeg merged 1 commit into
naTmeg:masterfrom
steffest:master

Conversation

@steffest

Copy link
Copy Markdown
Contributor

Memmove in c moves exactly n bytes so the javascript loop moved 1 byte too much.
This resulted in a inconsistent freq table, resulting in endless loops in the "update" function when decompressing a track with DEEP compression.
If you need a reference file, you can find an example DMS at http://www.stef.be/adfviewer/disks/COOPAIM1.DMS

@naTmeg
naTmeg merged commit 582a980 into naTmeg:master Feb 19, 2018
@naTmeg

naTmeg commented Feb 19, 2018

Copy link
Copy Markdown
Owner

Great find, thanks! That's definitely a bug, dunno what I thought here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants