avcodec/ttadata: Add sentinel at the end of ff_tta_shift_1
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 8 Jun 2021 18:10:56 +0000 (20:10 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 12 Jun 2021 12:22:42 +0000 (14:22 +0200)
commitdbbcfbcc4e4f0e91f814f2e13ced7b6d99069518
tree09af9284fbda9c00e695dd5e6d559a9e6fda6632
parentf54d85cee64b98bca5d2bee703f2a266ea75dce7
avcodec/ttadata: Add sentinel at the end of ff_tta_shift_1

Fixes: out of array access
Fixes: 34933/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TTA_fuzzer-5629322560929792

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