summaryrefslogtreecommitdiff
path: root/libavcodec/dct32_template.c
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-10 22:26:25 -0500
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-22 16:16:16 -0500
commitccf3c694032bd84c7672979fa89f437980d717ba (patch)
treec5773d09489b260ce863e9212b7c35a7af597224 /libavcodec/dct32_template.c
parent824ba897bdd17d158842263fbd34481a4a3c6c43 (diff)
avcodec/dct32_template: use M_SQRT1_2 instead of actual literal
Fixed point value remains unchanged. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavcodec/dct32_template.c')
-rw-r--r--libavcodec/dct32_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dct32_template.c b/libavcodec/dct32_template.c
index fb53d53ab1..c70396e5f5 100644
--- a/libavcodec/dct32_template.c
+++ b/libavcodec/dct32_template.c
@@ -73,7 +73,7 @@
#define COS3_0 FIXHR(0.54119610014619698439/2)
#define COS3_1 FIXHR(1.30656296487637652785/4)
-#define COS4_0 FIXHR(0.70710678118654752439/2)
+#define COS4_0 FIXHR(M_SQRT1_2/2)
/* butterfly operator */
#define BF(a, b, c, s)\