Mercurial > libavcodec.hg
comparison alacenc.c @ 10422:1c33160b0722 libavcodec
alacenc : use private compression_level value consistently.
author | jai_menon |
---|---|
date | Sat, 17 Oct 2009 08:04:33 +0000 |
parents | 952912ff616a |
children | 8a4984c5cacc |
comparison
equal
deleted
inserted
replaced
10421:6ca681cc3264 | 10422:1c33160b0722 |
---|---|
130 { | 130 { |
131 int32_t coefs[MAX_LPC_ORDER][MAX_LPC_ORDER]; | 131 int32_t coefs[MAX_LPC_ORDER][MAX_LPC_ORDER]; |
132 int shift[MAX_LPC_ORDER]; | 132 int shift[MAX_LPC_ORDER]; |
133 int opt_order; | 133 int opt_order; |
134 | 134 |
135 if (s->avctx->compression_level == 1) { | 135 if (s->compression_level == 1) { |
136 s->lpc[ch].lpc_order = 6; | 136 s->lpc[ch].lpc_order = 6; |
137 s->lpc[ch].lpc_quant = 6; | 137 s->lpc[ch].lpc_quant = 6; |
138 s->lpc[ch].lpc_coeff[0] = 160; | 138 s->lpc[ch].lpc_coeff[0] = 160; |
139 s->lpc[ch].lpc_coeff[1] = -190; | 139 s->lpc[ch].lpc_coeff[1] = -190; |
140 s->lpc[ch].lpc_coeff[2] = 170; | 140 s->lpc[ch].lpc_coeff[2] = 170; |