opus_silk: Fix arithmetic overflow (per RFC8251)
authorAndrew D'Addesio <modchipv12@gmail.com>
Sat, 2 Dec 2017 17:36:25 +0000 (11:36 -0600)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Mon, 4 Dec 2017 07:28:45 +0000 (07:28 +0000)
commit511e6f17f493719058229630c7db4d8d7c05aeac
tree6c32a2167d779e5045fcd54523ffd3ae6edd5f40
parent9b45bcf713e0bc30fff7d1e6c2facb539c27ec28
opus_silk: Fix arithmetic overflow (per RFC8251)

As per Sec.6 of RFC8251:
    Integer Wrap-Around in Inverse Gain Computation
    32-bit integer overflow in Levinson recursion. Affects
    silk_is_lpc_stable().

Signed-off-by: Andrew D'Addesio <modchipv12@gmail.com>
libavcodec/opus_silk.c