Mercurial > libavcodec.hg
changeset 7618:2b023daf5329 libavcodec
alacenc: Use user-specified min and max prediction order.
author | ramiro |
---|---|
date | Tue, 19 Aug 2008 16:12:05 +0000 |
parents | 924dc060db81 |
children | 0753d03d232a |
files | alacenc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/alacenc.c Tue Aug 19 16:07:58 2008 +0000 +++ b/alacenc.c Tue Aug 19 16:12:05 2008 +0000 @@ -130,7 +130,7 @@ int shift[MAX_LPC_ORDER]; int opt_order; - opt_order = ff_lpc_calc_coefs(&s->dspctx, s->sample_buf[ch], s->avctx->frame_size, DEFAULT_MIN_PRED_ORDER, DEFAULT_MAX_PRED_ORDER, + opt_order = ff_lpc_calc_coefs(&s->dspctx, s->sample_buf[ch], s->avctx->frame_size, s->min_prediction_order, s->max_prediction_order, ALAC_MAX_LPC_PRECISION, coefs, shift, 1, ORDER_METHOD_EST, ALAC_MAX_LPC_SHIFT, 1); s->lpc[ch].lpc_order = opt_order;