mirror of https://git.ffmpeg.org/ffmpeg.git
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