diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-07 22:32:11 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-07 22:33:09 +0100 |
commit | ed736890d6a71606e1833a9707da52322f4e046e (patch) | |
tree | 7542ea648459b8f2daff65b5a9b4465fd6b7eaf6 | |
parent | edff061fb0db5f8864e32821b798aa5e67aecae4 (diff) | |
parent | 4981baf9b803f3c4866b2e97fdadb008c62dc7ad (diff) | |
download | ffmpeg-ed736890d6a71606e1833a9707da52322f4e046e.tar.gz |
Merge commit '4981baf9b803f3c4866b2e97fdadb008c62dc7ad'
* commit '4981baf9b803f3c4866b2e97fdadb008c62dc7ad':
avstring: Mark some character handling functions av_const
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/avstring.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavutil/avstring.h b/libavutil/avstring.h index ea7d1dcb43..ffb7aa6bfa 100644 --- a/libavutil/avstring.h +++ b/libavutil/avstring.h @@ -203,22 +203,22 @@ char *av_strtok(char *s, const char *delim, char **saveptr); /** * Locale-independent conversion of ASCII isdigit. */ -int av_isdigit(int c); +av_const int av_isdigit(int c); /** * Locale-independent conversion of ASCII isgraph. */ -int av_isgraph(int c); +av_const int av_isgraph(int c); /** * Locale-independent conversion of ASCII isspace. */ -int av_isspace(int c); +av_const int av_isspace(int c); /** * Locale-independent conversion of ASCII characters to uppercase. */ -static inline int av_toupper(int c) +static inline av_const int av_toupper(int c) { if (c >= 'a' && c <= 'z') c ^= 0x20; @@ -228,7 +228,7 @@ static inline int av_toupper(int c) /** * Locale-independent conversion of ASCII characters to lowercase. */ -static inline int av_tolower(int c) +static inline av_const int av_tolower(int c) { if (c >= 'A' && c <= 'Z') c ^= 0x20; @@ -238,7 +238,7 @@ static inline int av_tolower(int c) /** * Locale-independent conversion of ASCII isxdigit. */ -int av_isxdigit(int c); +av_const int av_isxdigit(int c); /** * Locale-independent case-insensitive compare. |