mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-20 06:20:40 +00:00
parseutils: include errors in test output.
This commit is contained in:
parent
788a60d9d6
commit
b0e7321cf0
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user