summaryrefslogtreecommitdiff
path: root/libavcodec/dct32_template.c
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-21 09:04:58 -0500
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-22 16:16:16 -0500
commit61a1ca13ea9f869e8c7423784d12815efc06dc32 (patch)
tree147cc78cafcbd1140e64b76c0684d721fdae8f60 /libavcodec/dct32_template.c
parentccf3c694032bd84c7672979fa89f437980d717ba (diff)
avcodec/ppc/fdctdsp: use M_SQRT2 instead of ad-hoc SQRT2
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: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavcodec/dct32_template.c')
0 files changed, 0 insertions, 0 deletions