[FFmpeg-devel] av_parse_color() improvement
Aurelien Jacobs
aurel
Thu Nov 11 02:29:27 CET 2010
Hi,
Attached patch makes the av_parse_color() a bit more versatile.
It allows parsing of html formated hex color (ie. starting with a #
instead of 0x), including its loose form where the # is missing.
This makes quite some sens as the function is already able to parse
html named colors.
This is required to be able easily use this function to parse colors
out of SubRip files.
Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parse_color.diff
Type: text/x-diff
Size: 2524 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101111/4743e267/attachment.diff>
More information about the ffmpeg-devel
mailing list