Package: faac / 1.29.9.2-2

0001-Fix-broken-Joint-Stereo-coding-issue-11.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 75c7b6cc132cece4485f0968428b8e5892be6898 Mon Sep 17 00:00:00 2001
From: Robert Kausch <robert.kausch@freac.org>
Date: Sun, 26 Nov 2017 18:21:28 +0100
Subject: [PATCH 1/7] Fix broken Joint Stereo coding, issue #11

---
 libfaac/quantize.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libfaac/quantize.c b/libfaac/quantize.c
index bdd6e45..847edb5 100644
--- a/libfaac/quantize.c
+++ b/libfaac/quantize.c
@@ -338,7 +338,7 @@ int BlocQuant(CoderInfo *coder, double *xr, AACQuantCfg *aacquantCfg)
                 lastis += diff;
                 coder->sf[cnt] = lastis;
             }
-            else if (book != HCB_PNS)
+            else if (book == HCB_ESC)
             {
                 int diff = coder->sf[cnt] - lastsf;
 
-- 
2.18.0