diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-08-16 21:24:06 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-08-16 21:24:06 +0000 |
commit | 56c07e298914d0533a74bb4ba4be4abc8ea6b245 (patch) | |
tree | 6ef6ae0a9296a54ef6f1aac807336360e71fddff /libavcodec/flacenc.c | |
parent | e748e34dd6427271b779978a61156e47bfab3c8e (diff) | |
download | ffmpeg-56c07e298914d0533a74bb4ba4be4abc8ea6b245.tar.gz |
use limited range of lpc orders when quantizing coefficients
Originally committed as revision 14794 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r-- | libavcodec/flacenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 4876895c67..ea104360c1 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -855,7 +855,7 @@ static int encode_residual(FlacEncodeContext *ctx, int ch) } /* LPC */ - opt_order = ff_lpc_calc_coefs(&ctx->dsp, smp, n, max_order, precision, coefs, + opt_order = ff_lpc_calc_coefs(&ctx->dsp, smp, n, min_order, max_order, precision, coefs, shift, ctx->options.use_lpc, omethod, MAX_LPC_SHIFT, 0); if(omethod == ORDER_METHOD_2LEVEL || |