diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2010-07-11 16:56:20 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2010-07-11 16:56:20 +0000 |
commit | 23940f1405d4c19df69b1fa77c319e9f114c8ef7 (patch) | |
tree | 1f98802573d8e6c7ff8f0467bca1a05171d5fe7d /libavcodec/alacenc.c | |
parent | 31769dad7d182983e2943d519201c24e9cea6f3e (diff) | |
download | ffmpeg-23940f1405d4c19df69b1fa77c319e9f114c8ef7.tar.gz |
Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields.
Add AVLPCType enum.
Deprecate AVCodecContext.use_lpc.
Originally committed as revision 24199 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alacenc.c')
-rw-r--r-- | libavcodec/alacenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c index 0876633cbd..ee6acc0715 100644 --- a/libavcodec/alacenc.c +++ b/libavcodec/alacenc.c @@ -145,7 +145,8 @@ static void calc_predictor_params(AlacEncodeContext *s, int ch) s->avctx->frame_size, s->min_prediction_order, s->max_prediction_order, - ALAC_MAX_LPC_PRECISION, coefs, shift, 1, + ALAC_MAX_LPC_PRECISION, coefs, shift, + AV_LPC_TYPE_LEVINSON, 0, ORDER_METHOD_EST, ALAC_MAX_LPC_SHIFT, 1); s->lpc[ch].lpc_order = opt_order; |