adpcm-thp: fix invalid array indexing
authorMans Rullgard <mans@mansr.com>
Sun, 29 Apr 2012 00:17:37 +0000 (01:17 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 30 Apr 2012 23:21:30 +0000 (00:21 +0100)
commita812ed003f75ad8f90035ab3b88369ee7f3e1bd1
treea613ce2e21271e0f3bcfe79a14d422d899be4485
parentc81d1e2390ce7d3182d4176723384e65a771844c
adpcm-thp: fix invalid array indexing

Indexing outside array limits is invalid and breaks with gcc 4.8.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/adpcm.c