[xiph-commits] r3768 - liboggz/trunk/src/tools

conrad at svn.annodex.net conrad at svn.annodex.net
Wed Nov 5 16:58:12 PST 2008


Author: conrad
Date: 2008-11-05 16:58:12 -0800 (Wed, 05 Nov 2008)
New Revision: 3768

Modified:
   liboggz/trunk/src/tools/oggz-validate.c
Log:
oggz-validate: show "--max-errors %d" in error message when bailing out, to indicate
to the user how to change the max-error count


Modified: liboggz/trunk/src/tools/oggz-validate.c
===================================================================
--- liboggz/trunk/src/tools/oggz-validate.c	2008-11-06 00:52:12 UTC (rev 3767)
+++ liboggz/trunk/src/tools/oggz-validate.c	2008-11-06 00:58:12 UTC (rev 3768)
@@ -382,7 +382,8 @@
     
     if (max_errors && nr_errors > max_errors) {
       fprintf (stderr,
-	       "oggz-validate: maximum error count reached, bailing out ...\n");
+	       "oggz-validate --max-errors %d: maximum error count reached, bailing out ...\n",
+               max_errors);
       active = 0;
     } else while ((nout = oggz_write_output (ovdata.writer, buf, n)) > 0) {
 #ifdef DEBUG



More information about the commits mailing list