Commit 410f3d02 authored by mru's avatar mru

More descriptive names for av_stristr() parameters

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22349 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 767a32d8
...@@ -47,17 +47,18 @@ int av_strstart(const char *str, const char *pfx, const char **ptr); ...@@ -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); int av_stristart(const char *str, const char *pfx, const char **ptr);
/** /**
* Locate the first case-independent occurrence in the string s1 of * Locate the first case-independent occurrence in the string haystack
* the string s2. A zero-length string s2 is considered to match at * of the string needle. A zero-length string needle is considered to
* the start of s1. * match at the start of haystack.
* *
* This function is a case-insensitive version of the standard strstr(). * This function is a case-insensitive version of the standard strstr().
* *
* @param s1 string to search in * @param haystack string to search in
* @param s2 string to search for * @param needle string to search for
* @return pointer to the located match within s1 or a null pointer if no match * @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 * Copy the string src to dst, but no more than size - 1 bytes, and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment