avcodec/dct32_template: use M_SQRT1_2 instead of actual literal

Fixed point value remains unchanged.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
pull/134/merge
Ganesh Ajjanagadde 9 years ago
parent 824ba897bd
commit ccf3c69403
  1. 2
      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)\

Loading…
Cancel
Save