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>
Sat, 2 Jun 2012 21:43:31 +0000 (23:43 +0200)
commite95233789c08f55c0b2d0657bada609629a59294
tree1854b3e3d2f12c4e2bb5619898bb10479be4261a
parente0eaf1004910e451cbb8dbcb5c54ac63721adb61
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>
libavcodec/mpc7.c