[FFmpeg-cvslog] parseutils: include errors in test output.
Nicolas George
git at videolan.org
Tue Apr 17 12:11:49 CEST 2012
ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Mon Apr 16 12:07:48 2012 +0200| [b0e7321cf067ea26b3f0c5cfc903c8ff2ea0e24a] | committer: Nicolas George
parseutils: include errors in test output.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b0e7321cf067ea26b3f0c5cfc903c8ff2ea0e24a
---
libavutil/parseutils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index 7127afe..df737f6 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]);
}
}
More information about the ffmpeg-cvslog
mailing list