fixed small bug with aks_to_M2() in c2sim.c
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 21 Sep 2010 08:34:26 +0000 (08:34 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 21 Sep 2010 08:34:26 +0000 (08:34 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@193 01035d8c-6547-0410-b346-abe4f91aad63

codec2/src/c2sim.c

index 68aa18f1b21dbdc8b38634a8f1108f4a52cab173..b9e5f0f78a19d5e74573d4ffe5c5b3bd9fa45e00 100644 (file)
@@ -306,7 +306,7 @@ int main(int argc, char *argv[])
        e = decode_energy(encode_energy(e));
        model.Wo = decode_Wo(encode_Wo(model.Wo));
 
-       aks_to_M2(ak, order, &model, e, &snr); 
+       aks_to_M2(ak, order, &model, e, &snr, 1); 
        apply_lpc_correction(&model, lpc_correction);
        sum_snr += snr;
         dump_quantised_model(&model);