[FFmpeg-devel] [PATCH] Fix parse_utils:av_parse_color() web colors parsing

Michael Niedermayer michaelni
Tue Dec 8 22:44:31 CET 2009


On Tue, Dec 08, 2009 at 08:42:27PM +0100, Stefano Sabatini wrote:
> Hi,
> 
> not sure this was trivial enough to be committed without patch,
> without the patch 0xff000000 is not correctly interpreted, as an int is
> not enough to contain the value 0xff000000, since the first bit is
> used for the sign and the value for red results "127".
> 
> Patch fixes it.
> 
> Regards.
> -- 
> FFmpeg = Furious Fiendish Mortal Pitiless EnGraver

>  parseutils.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 49d72a6b46727b0bfa28f3da3c3ee0d29bdffee5  fix-web-color-parsing.patch

looks ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091208/0439eab9/attachment.pgp>



More information about the ffmpeg-devel mailing list