TAV: code cleanup, better preset selection

This commit is contained in:
minjaesong
2025-11-24 11:16:19 +09:00
parent dbbb471a11
commit 6132012e74
5 changed files with 93 additions and 152 deletions

View File

@@ -1065,12 +1065,6 @@ int main(int argc, char *argv[]) {
size_t name_len = ext - basename_start;
strncpy(output_file + dir_len, basename_start, name_len);
output_file[dir_len + name_len] = '\0';
// Replace last dot with underscore (for .qNN pattern)
/*char *last_dot = strrchr(output_file, '.');
if (last_dot && last_dot > output_file + dir_len) {
*last_dot = '_';
}*/
} else {
// No .tad extension, copy entire basename
strcpy(output_file + dir_len, basename_start);