diff options
Diffstat (limited to 'thirdparties/iphone/include/libavutil/avstring.h')
-rwxr-xr-x | thirdparties/iphone/include/libavutil/avstring.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/thirdparties/iphone/include/libavutil/avstring.h b/thirdparties/iphone/include/libavutil/avstring.h index f73d6e7..30b8dc5 100755 --- a/thirdparties/iphone/include/libavutil/avstring.h +++ b/thirdparties/iphone/include/libavutil/avstring.h @@ -175,8 +175,9 @@ char *av_strtok(char *s, const char *delim, char **saveptr); */ static inline int av_toupper(int c) { - if (c >= 'a' && c <= 'z') + if (c >= 'a' && c <= 'z') { c ^= 0x20; + } return c; } @@ -185,8 +186,9 @@ static inline int av_toupper(int c) */ static inline int av_tolower(int c) { - if (c >= 'A' && c <= 'Z') + if (c >= 'A' && c <= 'Z') { c ^= 0x20; + } return c; } |