avcodec/ac3: use M_SQRT1_2, M_SQRT2
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Wed, 11 Nov 2015 03:26:25 +0000 (22:26 -0500)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sun, 22 Nov 2015 21:16:16 +0000 (16:16 -0500)
commit94565f37919699ff1c6eaf684be85764452c0adc
tree811467cbaf3386ee0f2b1fe5e58e20a5ef992c0a
parent18b4016431d95ea1890dee8cfe6e5616e95fcea1
avcodec/ac3: use M_SQRT1_2, M_SQRT2

This uses M_SQRT1_2, M_SQRT2 instead of the actual literals. This yields
greater precision in some places in avcodec/ac3, while fixed point
values remain unchanged.

Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavcodec/ac3.h