diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2014-08-08 19:02:40 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2014-08-08 19:02:40 +0000 |
commit | 3533d6ca03f7315cfd2391b54c5e281e9b1cc02f (patch) | |
tree | 7f956d94fc6f9f708b980278ba308ab76df05b81 /audio/musepack/files/patch-encode_sv7.c | |
parent | Update to latest commit. (diff) |
- Update to latest upstream release 2011.08.10
- Add LICENSE*
PR: 192402
Submitted by: shoesoft@gmx.net (maintainer)
Approved by: mentors (implicit)
Notes
Notes:
svn path=/head/; revision=364375
Diffstat (limited to 'audio/musepack/files/patch-encode_sv7.c')
-rw-r--r-- | audio/musepack/files/patch-encode_sv7.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/audio/musepack/files/patch-encode_sv7.c b/audio/musepack/files/patch-encode_sv7.c deleted file mode 100644 index 847e726fe003..000000000000 --- a/audio/musepack/files/patch-encode_sv7.c +++ /dev/null @@ -1,25 +0,0 @@ ---- ./libmpcenc/encode_sv7.c.orig 2009-02-23 19:15:46.000000000 +0100 -+++ ./libmpcenc/encode_sv7.c 2010-05-16 17:59:52.000000000 +0200 -@@ -24,6 +24,8 @@ - #include "libmpcenc.h" - #include <mpc/minimax.h> - -+#define log2(x) ( log (x) * (1./M_LN2) ) -+ - void Klemm ( void ); - void Init_Skalenfaktoren ( void ); - -@@ -437,11 +439,11 @@ - total_cnt += sym[j][i].Count; - total_size += sym[j][i].Count * sym[j][i].Bits; - if (sym[j][i].Count != 0) -- optim_size += sym[j][i].Count * __builtin_log2(sym[j][i].Count); -+ optim_size += sym[j][i].Count * log2(sym[j][i].Count); - } - full_count += total_cnt; - full_size += total_size; -- optim_size = total_cnt * __builtin_log2(total_cnt) - optim_size; -+ optim_size = total_cnt * log2(total_cnt) - optim_size; - full_optim += optim_size; - size[j] = total_size; - cnt[j] = total_cnt; |