summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2013-06-18 00:04:27 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2013-06-18 00:04:27 +0000
commitf365fbecc2f1ac277562cc7f8374f305dfeec3ad (patch)
tree0cf38465f08734de1612a8c1c84ece55024cbb6f /src/tools
parent726d4a0c532e655dc5240c81ec19e433d17cd061 (diff)
chdman: -c would only overwrite the amount of compressions defined - part of the default compressions might still have been used [Oliver Stöneberg]
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/chdman.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/chdman.c b/src/tools/chdman.c
index 43c165f2c75..d84d4760010 100644
--- a/src/tools/chdman.c
+++ b/src/tools/chdman.c
@@ -1086,6 +1086,11 @@ static void parse_compression(const parameters_t &params, chd_codec_type compres
if (end == -1)
break;
}
+
+ for(;index < 4; ++index)
+ {
+ compression[index] = CHD_CODEC_NONE;
+ }
}