ff_lpc_calc_coefs: assert that the type is levinson or cholesky
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 9 Jul 2013 09:19:27 +0000 (11:19 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 9 Jul 2013 09:57:45 +0000 (11:57 +0200)
commit0dd99628ea15f1fe7121b8a983c0b1fe57660027
treef74aca1123d89da43e7b1932df8341b5fafbcaf8
parent3c5071db88b215d79a0b0f5b447d987b667e8817
ff_lpc_calc_coefs: assert that the type is levinson or cholesky

Otherwise the code could misbehave (and there are no other types anyway)
Fixes CID700759

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