Index: patched-ffmpeg-mt/libavutil/avstring.c |
=================================================================== |
--- patched-ffmpeg-mt/libavutil/avstring.c (revision 41250) |
+++ patched-ffmpeg-mt/libavutil/avstring.c (working copy) |
@@ -48,6 +48,19 @@ |
return !*pfx; |
} |
+char *av_stristr(const char *s1, const char *s2) |
+{ |
+ if (!*s2) |
+ return s1; |
+ |
+ do { |
+ if (av_stristart(s1, s2, NULL)) |
+ return s1; |
+ } while (*s1++); |
+ |
+ return NULL; |
+} |
+ |
size_t av_strlcpy(char *dst, const char *src, size_t size) |
{ |
size_t len = 0; |