This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Simplify t_sqrt()
Originally committed as revision 13918 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak
17 years ago
parent
89a2713e66
commit
70e708677e
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
libavcodec/ra144.c
+ 2
- 2
libavcodec/ra144.c
View File
@@ -61,13 +61,13 @@ static int ra144_decode_init(AVCodecContext * avctx)
*/
static int t_sqrt(unsigned int x)
{
int s =
0
;
int s =
2
;
while (x > 0xfff) {
s++;
x = x >> 2;
}
return
(
ff_sqrt(x << 20) << s
) << 2
;
return ff_sqrt(x << 20) << s;
}
/**
Write
Preview
Loading…
Cancel
Save