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

Stefano Sabatini git at videolan.org
Sun Jul 22 10:34:54 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Jul 21 10:44:40 2012 +0200| [295e0e4b4f68c8ddee3e58579698c84dacb7e8c4] | committer: Stefano Sabatini

lavd/caca: extend error message for -list_dither option

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=295e0e4b4f68c8ddee3e58579698c84dacb7e8c4
---

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

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);
         }



More information about the ffmpeg-cvslog mailing list