diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-08 22:16:05 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-08 22:16:05 +0000 |
commit | f0a912d3b8346f3bad2e0b9f03234d233d1dccdf (patch) | |
tree | 2d1be99e5d5f42ad00e8bd324bfb81b1a1a94c54 /libavutil | |
parent | 3369888aa5cf1480485b1a20a4d04bb23a6bae09 (diff) | |
download | ffmpeg-f0a912d3b8346f3bad2e0b9f03234d233d1dccdf.tar.gz |
More descriptive names for av_stristr() parameters
Originally committed as revision 22349 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/avstring.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libavutil/avstring.h b/libavutil/avstring.h index d9f6a0fa01..01c2391b5f 100644 --- a/libavutil/avstring.h +++ b/libavutil/avstring.h @@ -47,17 +47,18 @@ int av_strstart(const char *str, const char *pfx, const char **ptr); int av_stristart(const char *str, const char *pfx, const char **ptr); /** - * Locate the first case-independent occurrence in the string s1 of - * the string s2. A zero-length string s2 is considered to match at - * the start of s1. + * Locate the first case-independent occurrence in the string haystack + * of the string needle. A zero-length string needle is considered to + * match at the start of haystack. * * This function is a case-insensitive version of the standard strstr(). * - * @param s1 string to search in - * @param s2 string to search for - * @return pointer to the located match within s1 or a null pointer if no match + * @param haystack string to search in + * @param needle string to search for + * @return pointer to the located match within haystack + * or a null pointer if no match */ -char *av_stristr(const char *s1, const char *s2); +char *av_stristr(const char *haystack, const char *needle); /** * Copy the string src to dst, but no more than size - 1 bytes, and |