[FFmpeg-soc] [soc]: r1951 - in libavfilter: Makefile allfilters.c vf_drawbox.c

Víctor Paesa victorpaesa at googlemail.com
Sat Mar 8 23:34:58 CET 2008


Hi,

On Sat, Mar 1, 2008 at 12:04 PM, vitor <subversion at mplayerhq.hu> wrote:
> Author: vitor
>  Date: Sat Mar  1 12:04:16 2008
>  New Revision: 1951
[...]

>  Added:
>    libavfilter/vf_drawbox.c

[...]

>  +static void strlwr(char *str)
>  +{
>  +    int i = 0;
>  +    while(str[i] != '\0') {
>  +        if(isupper(str[i]))
>  +            str[i] = tolower(str[i]);
>  +
>  +        i++;
>  +    }
>  +}

On Cygwin this strlwr() conflicts with another one defined in string.h
I imagine other systems may also use this popular function name,
any problem to add a "ff_" prefix?

Regards,
Víctor


More information about the FFmpeg-soc mailing list