aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-19 02:13:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-19 02:25:48 +0200
commit2c881c7d45bc10205912e069d1c25103884a2059 (patch)
tree4ba7f8db2edcbcaf2523fbc1e1f2b1d1fd794e17
parentfdbad24090e167821c8587e4f26d0978fe4bef6b (diff)
downloadffmpeg-2c881c7d45bc10205912e069d1c25103884a2059.tar.gz
avutil/avstring: Fix undefined shift
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/avstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index f785816063..b184442306 100644
--- a/libavutil/avstring.c
+++ b/libavutil/avstring.c
@@ -408,7 +408,7 @@ int av_utf8_decode(int32_t *codep, const uint8_t **bufp, const uint8_t *buf_end,
goto end;
}
- if (code >= 1<<31) {
+ if (code >= 1U<<31) {
ret = AVERROR(EILSEQ); /* out-of-range value */
goto end;
}