bwolowiec wrote:
> Modified: eac3/eac3dec.c
> ==============================================================================
> --- eac3/eac3dec.c    (original)
> +++ eac3/eac3dec.c    Tue Aug 28 18:52:59 2007
> @@ -1144,22 +1144,34 @@ static void get_transform_coeffs_aht_ch(
>                  if(bg && pre_chmant == -(1<<(bits-bg-1))){
>                      // large mantissa
>                      GET_SBITS(pre_chmant, gbc, bits - ((bg==1)?1:0));
> -                    mant = (float) pre_chmant / (1<<(bits - ((bg==1)?2:1)));
> +                    if(bg==1)
> +                        //Gk = 2
> +                        mant = pre_chmant/((1<<bits-1)-1);
> +                    else
> +                        //Gk = 4
> +                        mant = pre_chamnt*3.0f/((1<<bits+1)-2);
                                        ^^^

Typo.


-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
_______________________________________________
FFmpeg-soc mailing list
[email protected]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to