sp5xdec: fix off by 1 error causing a crash
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 16 Aug 2012 01:15:14 +0000 (03:15 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Sep 2012 23:08:24 +0000 (01:08 +0200)
commit38c5e8fec5625dd01b2eb77a8da8cbd791ff85b0
treef246bd8dfc256da6dcfbd0533535bcd8d66a8108
parent1301942248f14bc18c02d984200d836e28b7dfd2
sp5xdec: fix off by 1 error causing a crash

Fixes Ticket1633

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f0896a6bd94e5b45447c7d640c8e8aa95d860d7a)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 450e4b1a60721d25f306d97062f35c9c3d7989f8)

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