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
Avoid using log2() freebsd does not support it.
Originally committed as revision 13184 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
17 years ago
parent
ba321adb94
commit
ee83232aa9
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/zmbvenc.c
+ 1
- 1
libavcodec/zmbvenc.c
View File
@@ -246,7 +246,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
int lvl = 9;
for(i=1; i<256; i++)
score_tab[i]= -i * log
2
(i/(double)(ZMBV_BLOCK*ZMBV_BLOCK)) * 256;
score_tab[i]= -i * log(i/(double)(ZMBV_BLOCK*ZMBV_BLOCK)) *
(
256
/M_LN2)
;
c->avctx = avctx;
Write
Preview
Loading…
Cancel
Save