Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: patched-ffmpeg-mt/libavutil/avstring.c

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698