diff options
author | Alexander Strasser <eclipse7@gmx.net> | 2011-02-08 00:07:47 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-08 21:26:38 +0100 |
commit | 21494e5537cdee82d5c9f99a0d9206fccb66ea08 (patch) | |
tree | 3e81b47ff91492b379f334ce429c961f8633efe9 | |
parent | 76ad67cae751658ce2d84e83b38a4d673e9e85a3 (diff) | |
download | ffmpeg-21494e5537cdee82d5c9f99a0d9206fccb66ea08.tar.gz |
vorbis dec: Delete useless scopes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/vorbis_dec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/vorbis_dec.c b/libavcodec/vorbis_dec.c index bca56ba663..3830887719 100644 --- a/libavcodec/vorbis_dec.c +++ b/libavcodec/vorbis_dec.c @@ -594,8 +594,6 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc) create_map(vc, i); - /* allocate mem for lsp coefficients */ - { /* codebook dim is for padding if codebook dim doesn't * * divide order+1 then we need to read more data */ floor_setup->data.t0.lsp = @@ -603,7 +601,6 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc) * sizeof(float)); if (!floor_setup->data.t0.lsp) return -1; - } #ifdef V_DEBUG /* debug output parsed headers */ AV_DEBUG("floor0 order: %u\n", floor_setup->data.t0.order); @@ -1110,11 +1107,9 @@ static int vorbis_floor0_decode(vorbis_context *vc, } /* calculate linear floor value */ - { q = exp((((amplitude*vf->amplitude_offset) / (((1 << vf->amplitude_bits) - 1) * sqrt(p + q))) - vf->amplitude_offset) * .11512925f); - } /* fill vector */ do { |