diff options
author | Martijn van Beurden <mvanb1@gmail.com> | 2022-01-03 19:42:36 +0100 |
---|---|---|
committer | Martijn van Beurden <mvanb1@gmail.com> | 2022-04-22 16:59:04 +0200 |
commit | 11b72938c1dfad906cb40a15cd29a9a32ebcbc8e (patch) | |
tree | a4dfb62f74cad0a945e179222593e8136079566d /src/flac | |
parent | b288acb1099679967ec7c6b72307e8c97927f25a (diff) | |
download | flac-11b72938c1dfad906cb40a15cd29a9a32ebcbc8e.tar.gz |
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
Diffstat (limited to 'src/flac')
-rw-r--r-- | src/flac/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flac/main.c b/src/flac/main.c index c6c5b899..067e2822 100644 --- a/src/flac/main.c +++ b/src/flac/main.c @@ -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]); } |