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

Stefano Sabatini stefano.sabatini-lala
Tue Dec 8 22:59:20 CET 2009


On date Tuesday 2009-12-08 22:44:31 +0100, Michael Niedermayer encoded:
> 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

Applied.
-- 
FFmpeg = Faithful and Furious Murdering Proud Elected Geisha



More information about the ffmpeg-devel mailing list