Revision ac6ef868 libavutil/avstring.c

View differences:

libavutil/avstring.c
48 48
    return !*pfx;
49 49
}
50 50

  
51
char *av_stristr(const char *s1, const char *s2)
52
{
53
    if (!*s2)
54
        return s1;
55

  
56
    do {
57
        if (av_stristart(s1, s2, NULL))
58
            return s1;
59
    } while (*s1++);
60

  
61
    return NULL;
62
}
63

  
51 64
size_t av_strlcpy(char *dst, const char *src, size_t size)
52 65
{
53 66
    size_t len = 0;

Also available in: Unified diff