mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
6dc5d71f97
commit
860fe8c908
@ -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)
|
|||||||
/**
|
/**
|
||||||
* 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user