# HG changeset patch # User ramiro # Date 1240086193 0 # Node ID 41ab6db265d069bac27e68be16c34fe239040ec8 # Parent 7e156421dcbce8b2e7f2805e7103eab8639bb316 mlpdec: Read context variable to local variable to make code cleaner. diff -r 7e156421dcbc -r 41ab6db265d0 mlpdec.c --- a/mlpdec.c Sat Apr 18 19:52:52 2009 +0000 +++ b/mlpdec.c Sat Apr 18 20:23:13 2009 +0000 @@ -849,6 +849,7 @@ /* TODO: DSPContext? */ for (i = 0; i < s->blockpos; i++) { + int32_t bypassed_lsb = m->bypassed_lsbs[i][mat]; int32_t *samples = m->sample_buffer[i]; int64_t accum = 0; @@ -861,8 +862,7 @@ index += index2; } - samples[dest_ch] = ((accum >> 14) & mask) - + m->bypassed_lsbs[i][mat]; + samples[dest_ch] = ((accum >> 14) & mask) + bypassed_lsb; } } }