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>
Wed, 26 Jun 2019 19:26:04 +0000 (21:26 +0200)
commitebccd2f778a861b41ad38a8464ea120d4f16b2d7
tree689cba6e1fba96f8f8399b368ec14638dea84538
parent2921b45a388a81968d946996bb32e72d7bb5d5b7
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>
libavcodec/tta.c