diff options
Diffstat (limited to 'thirdparties/mac/include/libavutil/avstring.h')
-rwxr-xr-x | thirdparties/mac/include/libavutil/avstring.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/thirdparties/mac/include/libavutil/avstring.h b/thirdparties/mac/include/libavutil/avstring.h index 5b078f1..00ecca7 100755 --- a/thirdparties/mac/include/libavutil/avstring.h +++ b/thirdparties/mac/include/libavutil/avstring.h @@ -214,8 +214,9 @@ static inline int av_isspace(int c) */ static inline int av_toupper(int c) { - if (c >= 'a' && c <= 'z') + if (c >= 'a' && c <= 'z') { c ^= 0x20; + } return c; } @@ -224,8 +225,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; } |