Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-11 06:26:25 +0300
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-23 00:16:16 +0300
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)\