Commit d3c963e1 authored by vitor's avatar vitor

Use ff_sqrt() function instead of using a table

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13210 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7dd93f38
...@@ -71,7 +71,7 @@ static int t_sqrt(unsigned int x) ...@@ -71,7 +71,7 @@ static int t_sqrt(unsigned int x)
x = x >> 2; x = x >> 2;
} }
return (sqrt_table[x] << s) << 2; return (ff_sqrt(x << 20) << s) << 2;
} }
/* do 'voice' */ /* do 'voice' */
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment