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, 16 Jul 2018 17:06:27 +0000 (19:06 +0200)
commit412872e6cbf6313bc8eeccb9f5978861c8f044a2
tree6bf7b1f7f143225759d5bda9f603fdf1c25e033e
parent6577ae7119ebf326a1af25fb90c1afde74602633
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