mpc7: fix handling of last frame
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 2 Jun 2012 21:43:31 +0000 (23:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Jun 2012 22:55:25 +0000 (00:55 +0200)
commit3bb942e6f08a081ce3bace7f5e9aa765e3e88b8e
treef6b17221cef03bf4c6212896707cb0f5a7a51e9d
parente863d3306f369c002c24dfda874a18173c5f5889
mpc7: fix handling of last frame

Fixes heap buffer overflow
Fixes ticket1393

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

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