• Ganesh Ajjanagadde's avatar
    avcodec/ppc/fdctdsp: use M_SQRT2 instead of ad-hoc SQRT2 · 61a1ca13
    Ganesh Ajjanagadde authored
    This actually fixes an incorrect float literal. It is believed by
    examining the precision that the literals were all pre-computed as
    floats, resulting in this needless loss of precision. There is no
    benefit to keeping such reduced precision:
    1. These constants are used for static array computation, hence
    compile-time.
    2. They will be treated as doubles anyway, since f specifier was not
    present.
    Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
    61a1ca13
fdctdsp.c 18.4 KB