lavfi/af_compensationdelay: replace pow(x,0.5) by sqrt(x)
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Tue, 5 Jan 2016 02:40:19 +0000 (18:40 -0800)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Wed, 6 Jan 2016 03:07:19 +0000 (19:07 -0800)
commitfc703f53cf3b0ca3806ecbf20d456f36b04249af
treebdeaad3e27ddda6722a0ee3c5614a408df20fb58
parenta956840cbcf89d709c4bd5980808ac0b5c8aeedf
lavfi/af_compensationdelay: replace pow(x,0.5) by sqrt(x)

sqrt is faster, and is sometimes more accurate depending on the libm.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavfilter/af_compensationdelay.c