diff options
author | Jai Luthra <me@jailuthra.in> | 2016-08-23 02:32:04 +0530 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-08-28 11:18:16 +0200 |
commit | 0c023d181e581a0299d96a5edf7a736bdc66dc43 (patch) | |
tree | f990de96906d8b42e527017c911e5d355b73c489 /libavcodec/ra144enc.c | |
parent | 88bcdf109a449d302bec977997af83e1462bca6c (diff) | |
download | ffmpeg-0c023d181e581a0299d96a5edf7a736bdc66dc43.tar.gz |
lavc/lpc: Add min_shift parameter in LPC
The min_shift parameter is needed by the MLP encoder
Signed-off-by: Jai Luthra <me@jailuthra.in>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/ra144enc.c')
-rw-r--r-- | libavcodec/ra144enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c index d3a7fff1b8..cc4f381606 100644 --- a/libavcodec/ra144enc.c +++ b/libavcodec/ra144enc.c @@ -475,7 +475,7 @@ static int ra144_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, ff_lpc_calc_coefs(&ractx->lpc_ctx, lpc_data, NBLOCKS * BLOCKSIZE, LPC_ORDER, LPC_ORDER, 16, lpc_coefs, shift, FF_LPC_TYPE_LEVINSON, - 0, ORDER_METHOD_EST, 12, 0); + 0, ORDER_METHOD_EST, 0, 12, 0); for (i = 0; i < LPC_ORDER; i++) block_coefs[NBLOCKS - 1][i] = -(lpc_coefs[LPC_ORDER - 1][i] << (12 - shift[LPC_ORDER - 1])); |