avcodec/clearvideo: fix invalid shift in tile size check
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 Jul 2019 18:16:19 +0000 (20:16 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 3 Aug 2019 15:44:23 +0000 (17:44 +0200)
commit5dc94924d0fbdedba4356c21ec7de0347b8e4757
treebb3923c27b6a74f3b000d90ee6398010c4bef829
parentc3ef24d9baf63f8c8794dfb2ef7192a64b586526
avcodec/clearvideo: fix invalid shift in tile size check

Fixes: left shift of 1 by 31 places cannot be represented in type 'int'
Fixes: 15631/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CLEARVIDEO_fuzzer-5690110605000704

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/clearvideo.c