Commit 432a54ef authored by Vitor Sessak's avatar Vitor Sessak

Use ff_sqrt() function instead of using a table

Originally committed as revision 13210 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 74a926ff
......@@ -71,7 +71,7 @@ static int t_sqrt(unsigned int x)
x = x >> 2;
}
return (sqrt_table[x] << s) << 2;
return (ff_sqrt(x << 20) << s) << 2;
}
/* 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