[Ffmpeg-devel] [PATCH] drawtext.c: 01 fix compiler warnings

Michael Niedermayer michaelni
Tue Sep 12 21:16:38 CEST 2006


Hi

On Sun, Sep 10, 2006 at 02:00:02PM -0300, Gustavo Sverzut Barbieri wrote:
> This is the first patch of a series of incremental patches to drawtext.c.
> 
> it fix the compiler warnings found in SVN, it's basically signess of 
> datatypes.
[...]
> -  unsigned char *text = ci->text;
> +  char *text = ci->text;
[...]
> +          unsigned char previous = text[i - 1];
>            FT_Get_Kerning( ci->face,
> -                          ci->glyphs_index[ text[i-1] ],
> +                          ci->glyphs_index[previous],

this is ugly IMHO


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

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list