mpc: pad mpc_CC/SCF[] tables to allow for negative indices.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 10 Mar 2012 22:28:08 +0000 (14:28 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 10 Mar 2012 22:28:08 +0000 (14:28 -0800)
commitd7eabd50425a61b31e90c763a0c3e4316a725404
tree7d19e9dd612725c7207c88fcf035d929bab236ee
parent442c3a8cb1785d74f8e2d7ab35b1862b7088436b
mpc: pad mpc_CC/SCF[] tables to allow for negative indices.

MPC8 allows indices of mpc_CC up to -1, and mpc_SCF up to -6, thus pad
the tables by that much on the left end.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/mpc.c
libavcodec/mpc7.c
libavcodec/mpcdata.h