From fd735e4b77a2e973b890c328805ee029dfe4b318 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 4 May 2007 21:22:43 +0000 Subject: [PATCH] simplify Originally committed as revision 8890 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/internal.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavutil/internal.h b/libavutil/internal.h index 9856ca144b..244e3c0dde 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -190,14 +190,13 @@ static inline int ff_sqrt(int a) { int ret=0; int s; - int ret_sq=0; if(a<128) return ff_sqrt_tab[a]; for(s=15; s>=0; s--){ - int b= ret_sq + (1<<(s*2)) + (ret<