Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/avstring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index 20931071b3..f4374fdc74 100644
--- a/libavutil/avstring.c
+++ b/libavutil/avstring.c
@@ -362,8 +362,8 @@ int av_utf8_decode(int32_t *codep, const uint8_t **bufp, const uint8_t *buf_end,
if (code >= 0xD800 && code <= 0xDFFF &&
!(flags & AV_UTF8_FLAG_ACCEPT_SURROGATES))
ret = AVERROR(EILSEQ);
- if (code == 0xFFFE || code == 0xFFFF &&
- (!flags & AV_UTF8_FLAG_ACCEPT_NON_CHARACTERS))
+ if ((code == 0xFFFE || code == 0xFFFF) &&
+ !(flags & AV_UTF8_FLAG_ACCEPT_NON_CHARACTERS))
ret = AVERROR(EILSEQ);
end: