g723_1: Handle values at the ends of the table in lsp2lpc()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Nov 2015 22:10:51 +0000 (17:10 -0500)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 30 Nov 2015 15:58:45 +0000 (10:58 -0500)
commitb74b88f30da2389f333a31815d8326d5576d3331
tree3c909c8a8f0871764d6449e14ddd72dedaec7456
parenta0fa6d06b848f26b16ba12f0a9a4a85b93ab8022
g723_1: Handle values at the ends of the table in lsp2lpc()

Fixes out of array reads.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/g723_1.c
libavcodec/g723_1_data.h