summaryrefslogtreecommitdiffstats
path: root/thirdparties/android/common/include/libavutil/avstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparties/android/common/include/libavutil/avstring.h')
-rwxr-xr-xthirdparties/android/common/include/libavutil/avstring.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/thirdparties/android/common/include/libavutil/avstring.h b/thirdparties/android/common/include/libavutil/avstring.h
index 5b078f1..00ecca7 100755
--- a/thirdparties/android/common/include/libavutil/avstring.h
+++ b/thirdparties/android/common/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;
}
OpenPOWER on IntegriCloud