aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-11 21:09:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-11 21:13:51 +0100
commit9ab5cf5417d7ee48bb3c4c78c79cc437c4a9efd3 (patch)
tree81ca3b22ec2937039c35428fc07bda0793c63ed6 /libavutil
parent81c1197494f5b9c10453e3bb1dd37f35e9742877 (diff)
downloadffmpeg-9ab5cf5417d7ee48bb3c4c78c79cc437c4a9efd3.tar.gz
avutil/avstring: fix () position
Fixes CID1135751 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-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: