diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-19 02:13:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-19 02:25:48 +0200 |
commit | 2c881c7d45bc10205912e069d1c25103884a2059 (patch) | |
tree | 4ba7f8db2edcbcaf2523fbc1e1f2b1d1fd794e17 /libavutil | |
parent | fdbad24090e167821c8587e4f26d0978fe4bef6b (diff) | |
download | ffmpeg-streaming-2c881c7d45bc10205912e069d1c25103884a2059.zip ffmpeg-streaming-2c881c7d45bc10205912e069d1c25103884a2059.tar.gz |
avutil/avstring: Fix undefined shift
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/avstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/avstring.c b/libavutil/avstring.c index f785816..b184442 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; } |