lavd/caca: extend error message for -list_dither option
authorStefano Sabatini <stefasab@gmail.com>
Sat, 21 Jul 2012 08:44:40 +0000 (10:44 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 22 Jul 2012 08:28:23 +0000 (10:28 +0200)
libavdevice/caca.c

index 2cd9e56..4ea34bb 100644 (file)
@@ -102,7 +102,8 @@ static int caca_write_header(AVFormatContext *s)
             list_dither_antialias(c);
         } else {
             av_log(s, AV_LOG_ERROR,
-                   "Invalid value '%s', for 'list_dither' option\n",
+                   "Invalid argument '%s', for 'list_dither' option\n"
+                   "Argument must be one of 'algorithms, 'antialiases', 'charsets', 'colors'\n",
                    c->list_dither);
             return AVERROR(EINVAL);
         }