diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-02 12:28:01 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-10 07:42:33 +0200 |
commit | 188dea1dbfd8761133ca138bba0d8f19beac6c09 (patch) | |
tree | 55f768f571b0ac9a6370586084dbb92b45f55916 /libavcodec/alacenc.c | |
parent | bc97695af84304e5e95658ca26e00c6e7074eca4 (diff) | |
download | ffmpeg-188dea1dbfd8761133ca138bba0d8f19beac6c09.tar.gz |
lavc: move some flac-specific options to its private context.
Diffstat (limited to 'libavcodec/alacenc.c')
-rw-r--r-- | libavcodec/alacenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c index 2e20a602dc..acaa545915 100644 --- a/libavcodec/alacenc.c +++ b/libavcodec/alacenc.c @@ -146,7 +146,7 @@ static void calc_predictor_params(AlacEncodeContext *s, int ch) s->min_prediction_order, s->max_prediction_order, ALAC_MAX_LPC_PRECISION, coefs, shift, - AV_LPC_TYPE_LEVINSON, 0, + FF_LPC_TYPE_LEVINSON, 0, ORDER_METHOD_EST, ALAC_MAX_LPC_SHIFT, 1); s->lpc[ch].lpc_order = opt_order; @@ -457,7 +457,7 @@ static av_cold int alac_encode_init(AVCodecContext *avctx) s->avctx = avctx; ret = ff_lpc_init(&s->lpc_ctx, avctx->frame_size, s->max_prediction_order, - AV_LPC_TYPE_LEVINSON); + FF_LPC_TYPE_LEVINSON); return ret; } |