changeset 10422:1c33160b0722 libavcodec

alacenc : use private compression_level value consistently.
author jai_menon
date Sat, 17 Oct 2009 08:04:33 +0000
parents 6ca681cc3264
children 2e4967487e59
files alacenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/alacenc.c	Fri Oct 16 23:06:55 2009 +0000
+++ b/alacenc.c	Sat Oct 17 08:04:33 2009 +0000
@@ -132,7 +132,7 @@
     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;