[FFmpeg-devel] [PATCH] ALAC Encoder
Ramiro Polla
ramiro
Tue Aug 19 18:13:37 CEST 2008
Michael Niedermayer wrote:
> On Tue, Aug 19, 2008 at 01:16:50AM +0530, Jai Menon wrote:
>> Hi,
>>
>> On Tuesday 19 Aug 2008 1:09:07 am Jai Menon wrote:
> [...]
>>>> [...]
>>> New patch attached. Thanks for the review and help with the decorrelation
>>> stuff.
>>>
>> Sorry, wrong patch. Correct one attached.
>
> no problem ...
>
>
>> @@ -62,7 +62,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;
>
> ok
Applied.
[...]
More information about the ffmpeg-devel
mailing list