Fix format_mistake printf
If on encoding a different format header is detected than is guessed from file extension, format_mistake in invoked. On merging wave64 support (commit d7f5344), updating the printable names in format_mistake was missed
This commit is contained in:
parent
b288acb109
commit
11b72938c1
@ -1678,7 +1678,7 @@ void show_explain(void)
|
||||
void format_mistake(const char *infilename, FileFormat wrong, FileFormat right)
|
||||
{
|
||||
/* WATCHOUT: indexed by FileFormat */
|
||||
static const char * const ff[] = { " raw", " WAVE", "n RF64", "n AIFF", "n AIFF-C", " FLAC", "n Ogg FLAC" };
|
||||
static const char * const ff[] = { " raw", " WAVE", " Wave64", "n RF64", "n AIFF", "n AIFF-C", " FLAC", "n Ogg FLAC" };
|
||||
flac__utils_printf(stderr, 1, "WARNING: %s is not a%s file; treating as a%s file\n", infilename, ff[wrong], ff[right]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user