avcodec/interplayacm: Fix overflow of last unused value
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 25 Oct 2019 10:44:45 +0000 (12:44 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Nov 2019 17:03:38 +0000 (18:03 +0100)
commit10eabb8e40df0ad84470d750f903917f4a05cb1f
tree19c77fb247f5a340770a731a6ef67d81a4271294
parent7786f6c30e77a393b72ded01baa4250738925509
avcodec/interplayacm: Fix overflow of last unused value

Fixes: signed integer overflow: -2147450880 - 65535 cannot be represented in type 'int'
Fixes: 18393/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INTERPLAY_ACM_fuzzer-5667520110919680

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