avcodec/opus_silk: Change silk_lsf2lpc() slightly toward silk/NLSF2A.c
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 2 Jun 2018 23:33:54 +0000 (01:33 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commitf144d5eb4977735e1ca7fcbebb67b3ac5903ea05
tree9c523de8da5d3a8cbbd67dd2a94c9eb3cda87f8f
parentbbd9f480f3e5199ef60374c18b8c4ef432e7fa16
avcodec/opus_silk: Change silk_lsf2lpc() slightly toward silk/NLSF2A.c

Fixes: runtime error: signed integer overflow: -1440457022 - 785819492 cannot be represented in type 'int'
Fixes: 7700/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OPUS_fuzzer-6595838684954624

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 e7dda51150b73e5fbdccf4c2d3a72e356980fba3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/opus_silk.c