Commit 592ec743 authored by ramiro's avatar ramiro

mlpdec: Read context variable to local variable to make code cleaner.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18615 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d3e13beb
......@@ -849,6 +849,7 @@ static void rematrix_channels(MLPDecodeContext *m, unsigned int substr)
/* 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 @@ static void rematrix_channels(MLPDecodeContext *m, unsigned int substr)
index += index2;
}
samples[dest_ch] = ((accum >> 14) & mask)
+ m->bypassed_lsbs[i][mat];
samples[dest_ch] = ((accum >> 14) & mask) + bypassed_lsb;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment