From 41294c928f655c6983ad1210dcbb185bd81d9be4 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Sat, 24 Jul 2004 17:56:51 +0000 Subject: [PATCH] add extra verbiage about hardware problems to verify error message, hopefully this will cut down on the number of bogus bug reports --- src/flac/encode.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/flac/encode.c b/src/flac/encode.c index 65697a87..7b7a3ea5 100644 --- a/src/flac/encode.c +++ b/src/flac/encode.c @@ -2039,7 +2039,12 @@ void print_verify_error(EncoderSession *e) flac__utils_printf(stderr, 1, "%s: ERROR: mismatch in decoded data, verify FAILED!\n", e->inbasefilename); flac__utils_printf(stderr, 1, " Absolute sample=%u, frame=%u, channel=%u, sample=%u, expected %d, got %d\n", (unsigned)absolute_sample, frame_number, channel, sample, expected, got); - flac__utils_printf(stderr, 1, " Please submit a bug report to\n"); + flac__utils_printf(stderr, 1, " In all known cases, verify errors are caused by hardware problems,\n"); + flac__utils_printf(stderr, 1, " usually overclocking or bad RAM. Delete %s\n", e->inbasefilename); + flac__utils_printf(stderr, 1, " and repeat the flac command exactly as before. If it does not give a\n"); + flac__utils_printf(stderr, 1, " verify error in the exact same place each time you try it, then there is\n"); + flac__utils_printf(stderr, 1, " a problem with your hardware. If it does, keep the bad FLAC file and\n"); + flac__utils_printf(stderr, 1, " submit a bug report to:\n"); flac__utils_printf(stderr, 1, " http://sourceforge.net/bugs/?func=addbug&group_id=13478\n"); flac__utils_printf(stderr, 1, " Make sure to include an email contact in the comment and/or use the\n"); flac__utils_printf(stderr, 1, " \"Monitor\" feature to monitor the bug status.\n");