[FFmpeg-cvslog] r14844 - trunk/libavcodec/alacenc.c
ramiro
subversion
Tue Aug 19 18:12:05 CEST 2008
Author: ramiro
Date: Tue Aug 19 18:12:05 2008
New Revision: 14844
Log:
alacenc: Use user-specified min and max prediction order.
Modified:
trunk/libavcodec/alacenc.c
Modified: trunk/libavcodec/alacenc.c
==============================================================================
--- trunk/libavcodec/alacenc.c (original)
+++ trunk/libavcodec/alacenc.c Tue Aug 19 18:12:05 2008
@@ -130,7 +130,7 @@ static void calc_predictor_params(AlacEn
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;
More information about the ffmpeg-cvslog
mailing list