diff --git a/src/merge/mkvmerge.cpp b/src/merge/mkvmerge.cpp index d14c5547a..ec0d200ed 100644 --- a/src/merge/mkvmerge.cpp +++ b/src/merge/mkvmerge.cpp @@ -752,7 +752,7 @@ parse_split_size(const string &arg) { mxerror(_("Invalid split size in '--split %s'.\n"), arg.c_str()); // Size in bytes/KB/MB/GB - mod = s[s.length() - 1]; + mod = tolower(s[s.length() - 1]); modifier = 1; if (mod == 'k') modifier = 1024;