avutil/tx: avoid negative left shifts
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 4 May 2021 16:22:40 +0000 (18:22 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Jun 2021 16:58:25 +0000 (18:58 +0200)
commit85b883429fb1a8c1be2e39fee510315a92b6cd02
tree6f7a27a63efd2916d528a40f989fcf78b97e953f
parentc067d20177613e9cf74bcbd2a26e729ef7ababdb
avutil/tx: avoid negative left shifts

Fixes: left shift of negative value -1
Fixes: 33736/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SIREN_fuzzer-6657785795313664

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