Commit 860fe8c9 authored by Justin Ruggles's avatar Justin Ruggles

AC-3 decoder, soc revision 70, Aug 31 18:04:23 2006 UTC by banan

Cosmetics, white space removal.

Originally committed as revision 9668 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6dc5d71f
...@@ -189,8 +189,7 @@ typedef struct { ...@@ -189,8 +189,7 @@ typedef struct {
/* BEGIN Mersenne Twister Code. */ /* BEGIN Mersenne Twister Code. */
static void dither_seed(dither_state *state, uint32_t seed) static void dither_seed(dither_state *state, uint32_t seed)
{ {
if (seed == 0) if (seed == 0) seed = 0x1f2e3d4c;
seed = 0x1f2e3d4c;
state->mt[0] = seed; state->mt[0] = seed;
for (state->mti = 1; state->mti < NMT; state->mti++) for (state->mti = 1; state->mti < NMT; state->mti++)
...@@ -237,8 +236,7 @@ static inline int16_t dither_int16(dither_state *state) ...@@ -237,8 +236,7 @@ static inline int16_t dither_int16(dither_state *state)
/** /**
* Generate a Kaiser-Bessel Derived Window. * Generate a Kaiser-Bessel Derived Window.
*/ */
static void static void ac3_window_init(float *window)
ac3_window_init(float *window)
{ {
int i, j; int i, j;
double sum = 0.0, bessel, tmp; double sum = 0.0, bessel, tmp;
......
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