From 188dea1dbfd8761133ca138bba0d8f19beac6c09 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 2 Apr 2011 12:28:01 +0200 Subject: lavc: move some flac-specific options to its private context. --- libavcodec/ra144enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/ra144enc.c') diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c index 24ba934cc1..6eab6c300f 100644 --- a/libavcodec/ra144enc.c +++ b/libavcodec/ra144enc.c @@ -54,7 +54,7 @@ static av_cold int ra144_encode_init(AVCodecContext * avctx) ractx->lpc_coef[1] = ractx->lpc_tables[1]; ractx->avctx = avctx; ret = ff_lpc_init(&ractx->lpc_ctx, avctx->frame_size, LPC_ORDER, - AV_LPC_TYPE_LEVINSON); + FF_LPC_TYPE_LEVINSON); return ret; } @@ -461,7 +461,7 @@ static int ra144_encode_frame(AVCodecContext *avctx, uint8_t *frame, 32)]; ff_lpc_calc_coefs(&ractx->lpc_ctx, lpc_data, NBLOCKS * BLOCKSIZE, LPC_ORDER, - LPC_ORDER, 16, lpc_coefs, shift, AV_LPC_TYPE_LEVINSON, + LPC_ORDER, 16, lpc_coefs, shift, FF_LPC_TYPE_LEVINSON, 0, ORDER_METHOD_EST, 12, 0); for (i = 0; i < LPC_ORDER; i++) block_coefs[NBLOCKS - 1][i] = -(lpc_coefs[LPC_ORDER - 1][i] << -- cgit v1.2.3