adpcm: fix off by 1 error and out of array access in DK4
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 12 Dec 2012 16:14:32 +0000 (17:14 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 7 Feb 2013 00:00:02 +0000 (01:00 +0100)
commit85a14dbd5dca34320f58b1ba11dd6dd0df4fb3be
treef09d7cabed187035a31e34fbcb117876d2e624c7
parentdb0f7f7394e1f994ed38db043f78ed0f10bde0da
adpcm: fix off by 1 error and out of array access in DK4

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f18c873ab5ee3c78d00fdcc2582b39c133faecb4)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/adpcm.c