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

Side by Side Diff: patched-ffmpeg-mt/libavutil/avstring.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2007 Mans Rullgard 2 * Copyright (c) 2007 Mans Rullgard
3 * 3 *
4 * This file is part of FFmpeg. 4 * This file is part of FFmpeg.
5 * 5 *
6 * FFmpeg is free software; you can redistribute it and/or 6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public 7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version. 9 * version 2.1 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 29 matching lines...) Expand all
40 * after the prefix. 40 * after the prefix.
41 * 41 *
42 * @param str input string 42 * @param str input string
43 * @param pfx prefix to test 43 * @param pfx prefix to test
44 * @param ptr updated if the prefix is matched inside str 44 * @param ptr updated if the prefix is matched inside str
45 * @return non-zero if the prefix matches, zero otherwise 45 * @return non-zero if the prefix matches, zero otherwise
46 */ 46 */
47 int av_stristart(const char *str, const char *pfx, const char **ptr); 47 int av_stristart(const char *str, const char *pfx, const char **ptr);
48 48
49 /** 49 /**
50 * Locate the first case-independent occurrence in the string haystack
51 * of the string needle. A zero-length string needle is considered to
52 * match at the start of haystack.
53 *
54 * This function is a case-insensitive version of the standard strstr().
55 *
56 * @param haystack string to search in
57 * @param needle string to search for
58 * @return pointer to the located match within haystack
59 * or a null pointer if no match
60 */
61 char *av_stristr(const char *haystack, const char *needle);
62
63 /**
50 * Copy the string src to dst, but no more than size - 1 bytes, and 64 * Copy the string src to dst, but no more than size - 1 bytes, and
51 * null-terminate dst. 65 * null-terminate dst.
52 * 66 *
53 * This function is the same as BSD strlcpy(). 67 * This function is the same as BSD strlcpy().
54 * 68 *
55 * @param dst destination buffer 69 * @param dst destination buffer
56 * @param src source string 70 * @param src source string
57 * @param size size of destination buffer 71 * @param size size of destination buffer
58 * @return the length of src 72 * @return the length of src
59 * 73 *
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 * if enough space had been available 108 * if enough space had been available
95 */ 109 */
96 size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...); 110 size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...);
97 111
98 /** 112 /**
99 * Convert a number to a av_malloced string. 113 * Convert a number to a av_malloced string.
100 */ 114 */
101 char *av_d2str(double d); 115 char *av_d2str(double d);
102 116
103 #endif /* AVUTIL_AVSTRING_H */ 117 #endif /* AVUTIL_AVSTRING_H */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698