[FFmpeg-devel] [PATCH] lavd/caca: extend error message for -list_dither option

Stefano Sabatini stefasab at gmail.com
Sat Jul 21 11:12:53 CEST 2012


---
 libavdevice/caca.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavdevice/caca.c b/libavdevice/caca.c
index 2cd9e56..4ea34bb 100644
--- a/libavdevice/caca.c
+++ b/libavdevice/caca.c
@@ -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);
         }
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list