aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJai Menon <jmenon86@gmail.com>2009-10-17 08:04:33 +0000
committerJai Menon <jmenon86@gmail.com>2009-10-17 08:04:33 +0000
commit215dab5feec98ff84ab27e0a0dd2e634984e67ec (patch)
tree574f8b464d7f05d28cba69c8acc41c392825abeb
parentf076fe44223be8613a5c79137dd8984a0b14ce23 (diff)
downloadffmpeg-215dab5feec98ff84ab27e0a0dd2e634984e67ec.tar.gz
alacenc : use private compression_level value consistently.
Originally committed as revision 20261 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/alacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 92de9c1c41..70b3b0f2b1 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -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;