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
avutil/softfloat: Fix alternative implementation of av_normalize_sf()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer
10 years ago
parent
5bf84a584e
commit
6690ca22b3
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavutil/softfloat.h
+ 1
- 1
libavutil/softfloat.h
View File
@@ -44,7 +44,7 @@ static av_const SoftFloat av_normalize_sf(SoftFloat a){
a.exp -= 1;
}
#else
int s=ONE_BITS
+ 1 - av_log2(a.mant ^ (a.mant<<1
));
int s=ONE_BITS
- av_log2(FFABS(a.mant
));
a.exp -= s;
a.mant <<= s;
#endif
Write
Preview
Loading…
Cancel
Save