diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-04-16 12:07:48 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-04-17 11:03:29 +0200 |
commit | b0e7321cf067ea26b3f0c5cfc903c8ff2ea0e24a (patch) | |
tree | c863250a8d30ac104c9f22dc584d133d94dc7c55 /libavutil | |
parent | 788a60d9d6ad2b1fb3b6f88baf668e65724a2d9f (diff) | |
download | ffmpeg-b0e7321cf067ea26b3f0c5cfc903c8ff2ea0e24a.tar.gz |
parseutils: include errors in test output.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/parseutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c index 7127afee8e..df737f6852 100644 --- a/libavutil/parseutils.c +++ b/libavutil/parseutils.c @@ -769,6 +769,8 @@ int main(void) for (i = 0; i < FF_ARRAY_ELEMS(color_names); i++) { if (av_parse_color(rgba, color_names[i], -1, NULL) >= 0) printf("%s -> R(%d) G(%d) B(%d) A(%d)\n", color_names[i], rgba[0], rgba[1], rgba[2], rgba[3]); + else + printf("%s -> error\n", color_names[i]); } } |