Searched refs:color_string2 (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavutil/ |
D | parseutils.c | 357 char *tail, color_string2[128]; in av_parse_color() local 368 av_strlcpy(color_string2, color_string + hex_offset, in av_parse_color() 369 FFMIN(slen-hex_offset+1, sizeof(color_string2))); in av_parse_color() 370 if ((tail = strchr(color_string2, ALPHA_SEP))) in av_parse_color() 372 len = strlen(color_string2); in av_parse_color() 375 if (!av_strcasecmp(color_string2, "random") || !av_strcasecmp(color_string2, "bikeshed")) { in av_parse_color() 382 strspn(color_string2, "0123456789ABCDEFabcdef") == len) { in av_parse_color() 384 unsigned int rgba = strtoul(color_string2, &tail, 16); in av_parse_color() 387 … av_log(log_ctx, AV_LOG_ERROR, "Invalid 0xRRGGBB[AA] color string: '%s'\n", color_string2); in av_parse_color() 398 entry = bsearch(color_string2, in av_parse_color() [all …]
|