Commit 505e4ce6 authored by ramiro's avatar ramiro

mlpdec: whitespace and line-breaking cosmetics.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14717 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7563c07c
...@@ -584,8 +584,7 @@ static int read_filter_params(MLPDecodeContext *m, GetBitContext *gbp, ...@@ -584,8 +584,7 @@ static int read_filter_params(MLPDecodeContext *m, GetBitContext *gbp,
} }
for (i = 0; i < order; i++) for (i = 0; i < order; i++)
fp->coeff[i] = fp->coeff[i] = get_sbits(gbp, coeff_bits) << coeff_shift;
get_sbits(gbp, coeff_bits) << coeff_shift;
if (get_bits1(gbp)) { if (get_bits1(gbp)) {
int state_bits, state_shift; int state_bits, state_shift;
...@@ -602,8 +601,7 @@ static int read_filter_params(MLPDecodeContext *m, GetBitContext *gbp, ...@@ -602,8 +601,7 @@ static int read_filter_params(MLPDecodeContext *m, GetBitContext *gbp,
/* TODO: Check validity of state data. */ /* TODO: Check validity of state data. */
for (i = 0; i < order; i++) for (i = 0; i < order; i++)
fp->state[i] = fp->state[i] = get_sbits(gbp, state_bits) << state_shift;
get_sbits(gbp, state_bits) << state_shift;
} }
} }
...@@ -753,8 +751,7 @@ static void filter_channel(MLPDecodeContext *m, unsigned int substr, ...@@ -753,8 +751,7 @@ static void filter_channel(MLPDecodeContext *m, unsigned int substr,
int j, i; int j, i;
for (j = 0; j < NUM_FILTERS; j++) { for (j = 0; j < NUM_FILTERS; j++) {
memcpy(& filter_state_buffer [j][MAX_BLOCKSIZE], memcpy(&filter_state_buffer[j][MAX_BLOCKSIZE], &fp[j]->state[0],
&fp[j]->state[0],
MAX_FILTER_ORDER * sizeof(int32_t)); MAX_FILTER_ORDER * sizeof(int32_t));
} }
...@@ -783,8 +780,7 @@ static void filter_channel(MLPDecodeContext *m, unsigned int substr, ...@@ -783,8 +780,7 @@ static void filter_channel(MLPDecodeContext *m, unsigned int substr,
} }
for (j = 0; j < NUM_FILTERS; j++) { for (j = 0; j < NUM_FILTERS; j++) {
memcpy(&fp[j]->state[0], memcpy(&fp[j]->state[0], &filter_state_buffer[j][index],
& filter_state_buffer [j][index],
MAX_FILTER_ORDER * sizeof(int32_t)); MAX_FILTER_ORDER * sizeof(int32_t));
} }
} }
......
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