From b0e7321cf067ea26b3f0c5cfc903c8ff2ea0e24a Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Mon, 16 Apr 2012 12:07:48 +0200 Subject: parseutils: include errors in test output. --- libavutil/parseutils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavutil') 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]); } } -- cgit v1.2.3