diff options
author | adam <adam@pkgsrc.org> | 2017-12-01 11:10:29 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-12-01 11:10:29 +0000 |
commit | 15a08f516b7fb575c4f4d3fca17aab85104e2b86 (patch) | |
tree | 0f7983e015ca56a9b6334c507278c55c9d8565e9 /audio/faac | |
parent | e6f8a3dfcb675cf98ae7b29f60db3b1ab1da5347 (diff) | |
download | pkgsrc-15a08f516b7fb575c4f4d3fca17aab85104e2b86.tar.gz |
Remove unused patch
Diffstat (limited to 'audio/faac')
-rw-r--r-- | audio/faac/patches/patch-libfaac_quantize.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/audio/faac/patches/patch-libfaac_quantize.c b/audio/faac/patches/patch-libfaac_quantize.c deleted file mode 100644 index 41ffdfee01f..00000000000 --- a/audio/faac/patches/patch-libfaac_quantize.c +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-libfaac_quantize.c,v 1.1 2017/08/15 13:55:17 adam Exp $ - -Fix compiler errors. - ---- libfaac/quantize.c.orig 2017-08-15 13:36:26.000000000 +0000 -+++ libfaac/quantize.c -@@ -71,14 +71,14 @@ static void bmask(CoderInfo *coderInfo, - target = NOISETONE * pow(avge/avgenrg, powm); - target += (1.0 - NOISETONE) * 0.45 * pow(maxe/avgenrg, powm); - -- target *= 0.9 + (40.0 / (fabs(start + end - MIDF) + 32)); -+ target *= 0.9 + (40.0 / (abs(start + end - MIDF) + 32)); - } - else - { - target = NOISETONE * pow(avge/avgenrg, powm); - target += (1.0 - NOISETONE) * 0.45 * pow(maxe/avgenrg, powm); - -- target *= 0.9 + (40.0 / (0.125 * fabs(start + end - (8*MIDF)) + 32)); -+ target *= 0.9 + (40.0 / (0.125 * abs(start + end - (8*MIDF)) + 32)); - - target *= 0.45; - } -@@ -95,8 +95,8 @@ static void qlevel(CoderInfo *coderInfo, - int sb, cnt; - int start, end; - // 1.5dB step -- static const double sfstep = 20.0 / 1.5 / log(10); -- static const double sfstep_1 = 1.0 / sfstep; -+ const double sfstep = 20.0 / 1.5 / log(10); -+ const double sfstep_1 = 1.0 / sfstep; - - for (sb = 0; sb < coderInfo->nr_of_sfb; sb++) - { |