alacenc : use private compression_level value consistently.

Originally committed as revision 20261 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Jai Menon 2009-10-17 08:04:33 +00:00
parent f076fe4422
commit 215dab5fee

View File

@ -132,7 +132,7 @@ static void calc_predictor_params(AlacEncodeContext *s, int ch)
int shift[MAX_LPC_ORDER];
int opt_order;
if (s->avctx->compression_level == 1) {
if (s->compression_level == 1) {
s->lpc[ch].lpc_order = 6;
s->lpc[ch].lpc_quant = 6;
s->lpc[ch].lpc_coeff[0] = 160;