alacenc : use private compression_level value consistently.

Originally committed as revision 20261 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Jai Menon 15 years ago
parent f076fe4422
commit 215dab5fee
  1. 2
      libavcodec/alacenc.c

@ -132,7 +132,7 @@ static void calc_predictor_params(AlacEncodeContext *s, int ch)
int shift[MAX_LPC_ORDER]; int shift[MAX_LPC_ORDER];
int opt_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_order = 6;
s->lpc[ch].lpc_quant = 6; s->lpc[ch].lpc_quant = 6;
s->lpc[ch].lpc_coeff[0] = 160; s->lpc[ch].lpc_coeff[0] = 160;

Loading…
Cancel
Save