Make case insensitive the match for the color name in
av_parse_color(). Originally committed as revision 18827 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -44,7 +44,7 @@ char *av_get_token(const char **buf, const char *term);
|
||||
* Puts the RGBA values that correspond to color_string in rgba_color.
|
||||
*
|
||||
* @param color_string a string specifying a color. It can be the name of
|
||||
* a color or a 0xRRGGBB[AA] sequence.
|
||||
* a color (case insensitive match) or a 0xRRGGBB[AA] sequence.
|
||||
* @return >= 0 in case of success, a negative value in case of
|
||||
* failure (for example if color_string cannot be parsed).
|
||||
*/
|
||||
|
Reference in New Issue
Block a user