avcodec/tta: Fix undefined shift
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Jun 2019 13:55:55 +0000 (15:55 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commit1b4b738033df2d3afd0acf23aa668ec874dafac4
treeab41ee236c493a8441271a246c8b906fab13ebee
parentd00e33ed3a2127901b622081b364580144be12c4
avcodec/tta: Fix undefined shift

Fixes: left shift of negative value -4483
Fixes: 15256/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TTA_fuzzer-5738691617619968

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ebccd2f778a861b41ad38a8464ea120d4f16b2d7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/tta.c