You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avutil/avstring: Fix undefined shift
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user