[FFmpeg-devel] [PATCH] Make av_parse_color() support a "Random" color

Michael Niedermayer michaelni
Thu May 14 16:19:11 CEST 2009


On Thu, May 14, 2009 at 01:13:40AM +0200, Stefano Sabatini wrote:
> On date Wednesday 2009-05-13 23:54:20 +0100, M?ns Rullg?rd encoded:
> > Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
> [...]
> > > So we're back to square one, and I'm in short of ideas, so there is no
> > > safe method to match case-insensitively a string in C?
> > 
> > Use the standard functions and let people who set funny locales get
> > what they deserve.
> 
> Here it is.
> 
> Regards.
> -- 
> FFmpeg = Fast and Fierce Most Power Enlightening Gem

>  parseutils.c |    6 +++---
>  parseutils.h |    2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 91db78b5152f447a8c936740ec618f0541bb693e  parse-color-ci.patch
[...]
>  parseutils.c |    3 ++-
>  parseutils.h |    1 +
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 5896f565d65eb952cb6eb96fa616779b9069a324  parse-color-random.patch

looks ok

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

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- 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/20090514/8689ecdf/attachment.pgp>



More information about the ffmpeg-devel mailing list