aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--toolame.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/toolame.c b/toolame.c
index 68440d8..c1c9725 100644
--- a/toolame.c
+++ b/toolame.c
@@ -181,8 +181,7 @@ int main (int argc, char **argv)
uint8_t* xpad_data = NULL;
if (mot_file) {
- if (header.dab_length <= 0 ||
- header.dab_length > 58) {
+ if (header.dab_length <= 0) {
fprintf(stderr, "Invalid XPAD length specified\n");
return 1;
}