diff options
author | Robert Swain <robert.swain@gmail.com> | 2008-01-13 11:02:08 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2008-01-13 11:02:08 +0000 |
commit | 3ed546fe525eace861e708ab970cf91f69bfdd09 (patch) | |
tree | f34d1a9c71cb362238422c2a2c38df68be3a4409 /libavcodec/ac3dec.c | |
parent | 99fac0806b0d20790b57b4f6c96676139438e2f6 (diff) | |
download | ffmpeg-3ed546fe525eace861e708ab970cf91f69bfdd09.tar.gz |
Add variable alpha and size of half window for Kaiser-Bessel Derived window
generation. Hard code Bessel I0 approximation iterations to 50.
See thread for discussion:
[FFmpeg-devel] [PATCH] Move Kaiser-Bessel Derived window to mdct.c
Started on the 2008/01/10
Originally committed as revision 11520 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 5b0f868397..0ce75e7699 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -277,7 +277,7 @@ static int ac3_decode_init(AVCodecContext *avctx) ac3_tables_init(); ff_mdct_init(&s->imdct_256, 8, 1); ff_mdct_init(&s->imdct_512, 9, 1); - ff_kbd_window_init(s->window); + ff_kbd_window_init(s->window, 5.0, 256); dsputil_init(&s->dsp, avctx); av_init_random(0, &s->dith_state); |